neoneo-go/pkg/rpc/response/result
Roman Khimov 0da0bb21ee rpc: make getnextvalidators behavior compliant with C# node
Turns out, our getnextvalidators implementation already works the way
getcandidates is supposed to work, but original getnextvalidators works a bit
differently. It only returns validators, it doesn't return Active flag (all
of them are active) and it represents votes as a number. So for the maximum
compatibility:
 * drop non-validator keys from getnextvalidators server-side
 * drop Active flag client-side (sorry, it doesn't exist)
 * allow unmarshalling old answers along with the new one

This technically breaks `query candidates` CLI command, but it'll be fixed
when getcandidates are to be introduced.
2022-07-01 14:52:02 +03:00
..
subscriptions [#2442] English Check 2022-05-04 19:48:27 +03:00
application_log.go [#2442] English Check 2022-05-04 19:48:27 +03:00
block.go [#2442] English Check 2022-05-04 19:48:27 +03:00
block_header.go [#2442] English Check 2022-05-04 19:48:27 +03:00
findstates.go rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00
invoke.go rpc: always marshal FaultException 2022-05-25 10:48:58 +03:00
invoke_test.go rpc: always marshal FaultException 2022-05-25 10:48:58 +03:00
mpt.go [#2442] English Check 2022-05-04 19:48:27 +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 [#2442] English Check 2022-05-04 19:48:27 +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 [#2442] English Check 2022-05-04 19:48:27 +03:00
unclaimed_gas.go [#2442] English Check 2022-05-04 19:48:27 +03:00
validate_address.go [#2442] English Check 2022-05-04 19:48:27 +03:00
validator.go rpc: make getnextvalidators behavior compliant with C# node 2022-07-01 14:52:02 +03:00
validator_test.go rpc: make getnextvalidators behavior compliant with C# node 2022-07-01 14:52:02 +03:00
version.go rpc: bump getversion compat 2022-05-16 06:59:23 +03:00
version_test.go rpc: bump getversion compat 2022-05-16 06:59:23 +03:00