forked from TrueCloudLab/neoneo-go
0da0bb21ee
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. |
||
---|---|---|
.. | ||
subscriptions | ||
application_log.go | ||
block.go | ||
block_header.go | ||
findstates.go | ||
invoke.go | ||
invoke_test.go | ||
mpt.go | ||
mpt_test.go | ||
netfee.go | ||
peers.go | ||
peers_test.go | ||
raw_mempool.go | ||
relay_result.go | ||
tokens.go | ||
tx_raw_output.go | ||
unclaimed_gas.go | ||
validate_address.go | ||
validator.go | ||
validator_test.go | ||
version.go | ||
version_test.go |