neo-go/pkg
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
..
compiler Merge pull request #2427 from nspcc-dev/add-hash-to-debug-info 2022-04-06 16:11:47 +03:00
config *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00
consensus config/core: allow to change the number of validators 2022-01-31 23:14:38 +03:00
core core: add murmur32 to CryptoLib native contract 2022-04-05 10:46:52 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop Merge pull request #2417 from nspcc-dev/interop-update 2022-04-05 19:02:59 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest core: rebase core tests onto neotest 2022-03-30 19:00:53 +03:00
network network: check compressed payload size in decompress 2022-03-24 17:22:55 +03:00
rpc rpc: adjust getversion RPC response 2022-04-14 13:51:30 +03:00
services services: fix changing of main tx size of Notary request 2022-04-05 16:00:12 +03:00
smartcontract smartcontract: remove unused ParameterFromStackItem 2022-04-01 08:38:35 +03:00
util util: allow to marshal Uint160 in YAML 2022-02-21 10:38:20 +03:00
vm vm: make byte representation of VMState compatible with C# 2022-04-04 13:52:29 +03:00
wallet *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00