neo-go/pkg/core/native
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
..
blocked_accounts.go core: add native policy contract 2020-06-24 07:35:07 +03:00
blocked_accounts_test.go smartcontract: update (Parameter).MarshalJSON method 2020-06-24 07:58:09 +03:00
contract.go core: add native policy contract 2020-06-24 07:35:07 +03:00
interop.go core: add Manifest to state.Contract 2020-06-11 10:45:24 +03:00
native_gas.go native: optimize GAS onPersist for empty blocks 2020-06-18 21:51:29 +03:00
native_neo.go native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
native_nep5.go Merge pull request #1077 from nspcc-dev/neo3/smartcontract/id 2020-06-20 00:12:07 +03:00
policy.go core: add cache to native Policy contract 2020-06-24 07:36:11 +03:00
validators_count.go core: update native contract data serialisation format 2020-06-08 13:29:35 +03:00