neoneo-go/pkg/rpc/response/result
Anna Shaleva 1c6afe402f rpc: adjust getversion RPC response
Reference implementation includes `initialgasdistribution` as integer
value with decimals.

C# response:
```
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "nonce": 1677922561,
        "protocol": {
            "addressversion": 53,
            "initialgasdistribution": 5200000000000000,
            "maxtraceableblocks": 2102400,
            "maxtransactionsperblock": 512,
            "maxvaliduntilblockincrement": 5760,
            "memorypoolmaxtransactions": 50000,
            "msperblock": 15000,
            "network": 860833102,
            "validatorscount": 7
        },
        "tcpport": 10333,
        "useragent": "/Neo:3.1.0/",
        "wsport": 10334
    }
}
```

Neo-Go response:
```
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "network": 860833102,
        "nonce": 2847278838,
        "protocol": {
            "addressversion": 53,
            "initialgasdistribution": "52000000",
            "maxtraceableblocks": 2102400,
            "maxtransactionsperblock": 512,
            "maxvaliduntilblockincrement": 5760,
            "memorypoolmaxtransactions": 50000,
            "msperblock": 15000,
            "network": 860833102,
            "validatorscount": 7
        },
        "tcpport": 10333,
        "useragent": "/NEO-GO:0.98.2/"
    }
}
```
2022-04-14 13:51:30 +03:00
..
subscriptions rpc: move NotaryRequestEvent to the subscriptions pkg 2021-09-24 17:42:59 +03:00
application_log.go rpc: add trigger parameter to getapplicationlog 2020-11-12 17:43:11 +03:00
block.go rpc/result: drop unnecessary blockchainer dependency 2022-01-14 19:57:16 +03:00
block_header.go rpc/result: drop unnecessary blockchainer dependency 2022-01-14 19:57:16 +03:00
findstates.go rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00
invoke.go rpc/storage: add storage changes to invoke* diagnostics 2022-01-19 00:02:19 +03:00
invoke_test.go rpc: add notifications into the invoke* result 2022-01-18 22:35:44 +03:00
mpt.go rpc: fix getstateheight result compatibility 2021-07-22 21:13:44 +03:00
mpt_test.go mpt: split HashNode in two types 2021-04-01 10:19:57 +03:00
netfee.go rpc: wrap calculatenetworkfee result in a structure 2021-06-04 23:38:35 +03:00
peers.go rpc: move result package into response 2020-02-21 15:12:04 +03:00
peers_test.go rpc: move result package into response 2020-02-21 15:12:04 +03:00
raw_mempool.go rpc: update getrawmempool RPC-call result 2020-07-29 10:14:01 +03:00
relay_result.go rpc: adjust sendrawtransaction RPC-call 2020-07-22 08:37:46 +03:00
tokens.go rpc: add client-side NEP-11 methods 2021-11-19 12:58:46 +03:00
tx_raw_output.go rpc/result: drop unnecessary blockchainer dependency 2022-01-14 19:57:16 +03:00
unclaimed_gas.go *: enable godot linter and fix all its warnings 2021-05-12 23:17:03 +03:00
validate_address.go rpc: move result package into response 2020-02-21 15:12:04 +03:00
validator.go core: switch to the new voting system (via native NEO contract) 2020-04-27 16:06:50 +03:00
version.go rpc: adjust getversion RPC response 2022-04-14 13:51:30 +03:00