neo-go/pkg/core
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
..
block block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchainer core: store smartcontract items by id 2020-06-19 20:48:45 +03:00
dao core: store smartcontract items by id 2020-06-19 20:48:45 +03:00
interop core: calculate prices of Neo.Crypt.* opcodes correctly 2020-06-19 12:58:33 +03:00
mempool core: add policy check to mempool 2020-06-24 07:58:09 +03:00
native native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
state state: initialize PublicKey before decoding into it, fix #1061 2020-06-18 21:59:58 +03:00
storage core: provide monotonically increasing ID for contracts 2020-06-11 10:45:25 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
blockchain.go core: add policy check to (*Blockchain).verifyTx method 2020-06-24 07:58:09 +03:00
blockchain_test.go core: save application logs for native persist 2020-06-18 15:32:27 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go core: store precise gas price in interop descriptions 2020-06-15 12:02:28 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go native: fix getvalidators to match C# implementation 2020-06-24 10:21:24 +03:00
interop_neo.go core: store smartcontract items by id 2020-06-19 20:48:45 +03:00
interop_neo_test.go core: store smartcontract items by id 2020-06-19 20:48:45 +03:00
interop_system.go core: fix HasStorage check in storageGetContext 2020-06-20 00:04:28 +03:00
interop_system_test.go core: implement System.Runtime.GetInvocationCounter syscall 2020-06-17 11:24:11 +03:00
interops.go core: fix Neo.Native.Deploy price 2020-06-19 12:58:33 +03:00
interops_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
native_contract_test.go core/tests: extend native contract test 2020-06-18 22:44:10 +03:00
native_policy_test.go core: add native policy contract 2020-06-24 07:35:07 +03:00
opcode_price.go core: add SystemFee and NetworkFee to transaction 2020-05-20 23:26:48 +03:00
prometheus.go core: refactor out MemPool 2020-01-16 10:16:24 +03:00
util.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00
util_test.go block/transaction: add network magic into the hash 2020-06-18 12:39:50 +03:00