neoneo-go/pkg/rpc/response
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
..
result rpc: make getnextvalidators behavior compliant with C# node 2022-07-01 14:52:02 +03:00
errors.go rpc: extend the list of predefined RPC errors 2022-06-10 16:47:42 +03:00
events.go [#2442] English Check 2022-05-04 19:48:27 +03:00
types.go rpc: unexport ServerError 2022-06-10 16:38:41 +03:00