neoneo-go/cli
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
..
cmdargs cli/smartcontract: allow to deploy contracts with scope 2021-10-13 15:55:42 +03:00
flags [#2442] English Check 2022-05-04 19:48:27 +03:00
input cli: handle passwords securely 2022-05-16 07:49:00 +03:00
options [#2442] English Check 2022-05-04 19:48:27 +03:00
paramcontext [#2442] English Check 2022-05-04 19:48:27 +03:00
query rpc: make getnextvalidators behavior compliant with C# node 2022-07-01 14:52:02 +03:00
server gomod: upgrade yaml package from v2 to v3 2022-05-30 15:26:17 +03:00
smartcontract gomod: upgrade yaml package from v2 to v3 2022-05-30 15:26:17 +03:00
testdata [#2442] English Check 2022-05-04 19:48:27 +03:00
util cli/wallet: allow to testinvoke transaction before signing 2021-09-23 11:48:25 +03:00
vm vm: replace ishell with urfave/cli 2022-02-18 16:34:50 +03:00
wallet [#2442] English Check 2022-05-04 19:48:27 +03:00
.gitignore Better error messages (#24) 2018-02-24 10:10:45 +01:00
candidate_test.go cli/wallet: show tx fee before relaying 2021-09-21 11:31:56 +03:00
contract_test.go *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00
dump_test.go gomod: upgrade yaml package from v2 to v3 2022-05-30 15:26:17 +03:00
executor_test.go rpc: support InitialGasDistribution response from old Neo-Go nodes 2022-04-27 19:00:46 +03:00
main.go cli: add query tx command, fix #2069 2021-07-20 18:03:50 +03:00
main_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
multisig_test.go cli: add tests for wallet-related commands 2022-02-02 13:48:12 +03:00
nep11_test.go core: DeepCopy notifiction event args inside System.Runtime.Notify 2022-05-31 08:07:53 +03:00
nep17_test.go cli: print zero balance of known token if token flag specified 2021-12-28 11:41:38 +03:00
options_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
query_test.go cli/wallet: allow to testinvoke transaction before signing 2021-09-23 11:48:25 +03:00
server_test.go gomod: upgrade yaml package from v2 to v3 2022-05-30 15:26:17 +03:00
util_test.go cli: add tests for smartcontract-related commands 2022-02-02 11:28:29 +03:00
wallet_test.go vm: replace ishell with urfave/cli 2022-02-18 16:34:50 +03:00