neoneo-go/pkg/rpc/server
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
..
testdata rpc: regenerate basic chain and adjust RPC server tests 2022-03-30 11:32:30 +03:00
client_test.go rpc: fix Client's GetOraclePrice 2022-03-01 19:08:22 +03:00
prometheus.go rpc/server: register ws calls in Prometheus 2022-03-21 23:18:00 +03:00
server.go rpc: adjust getversion RPC response 2022-04-14 13:51:30 +03:00
server_helper_test.go rpc: add NEP11-D tests to server and client 2022-02-09 11:57:16 +03:00
server_test.go rpc: regenerate basic chain and adjust RPC server tests 2022-03-30 11:32:30 +03:00
subscription.go rpc: move NotaryRequestEvent to the subscriptions pkg 2021-09-24 17:42:59 +03:00
subscription_test.go rpc/server: fix sporadic test failures 2021-07-08 10:40:54 +03:00
tokens.go rpc: add server-side NEP-11 tracking API 2021-11-19 12:58:46 +03:00
util.go rpc, internal: fix CodeQL int conversions warnings 2021-04-19 11:30:28 +03:00