neo-go/pkg
Roman Khimov 2f8e7e4d33 native: fix getvalidators to match C# implementation
ValidatorsCount is not initialized at block 0 with C# node (the first voter
initializes it) and until that initialization happens the standby validators
list is being returned as is without sorting.

Fixes state mismatch for the key ffffffff0e00000000000000000000000000000001 in
the first blocks.

It also affects tests as now the first validator is different and it receives
the network fees.
2020-06-24 10:21:24 +03:00
..
compiler compiler: do not load map key twice in for-range loop 2020-06-22 13:43:59 +03:00
config *: use MaxTransactionsPerBlock from Policy native contract 2020-06-24 07:58:05 +03:00
consensus native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
core native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
crypto smartcontract: use new VerifiableDecodable for ParameterContext 2020-06-18 12:12:56 +03:00
encoding *: change address to the new format 2020-06-17 15:58:21 +03:00
internal block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
interop compiler: implement missing System.Contract.* interops 2020-06-17 11:38:34 +03:00
io *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
network core: add native policy contract 2020-06-24 07:35:07 +03:00
rpc native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
smartcontract smartcontract: update (Parameter).MarshalJSON method 2020-06-24 07:58:09 +03:00
util util: fixed typo in method description 2020-05-20 23:26:51 +03:00
vm vm: fix Log and Notify default interop prices 2020-06-19 12:58:33 +03:00
wallet *: change address to the new format 2020-06-17 15:58:21 +03:00