neoneo-go/pkg/core
Roman Khimov 216513e14f stateroot: reject validated root if it doesn't match local one
Prevent

2021-03-27T00:05:23.382+0300    WARN    blockQueue: failed adding block into the blockchain     {"error": "error while trying to apply MPT changes: key not found", "blockHeight": 12757, "nextIndex": 12758}

after node restart (node reads "local" root hash that it doesn't have).
2021-03-27 00:33:11 +03:00
..
block block: drop Network from the Header 2021-03-26 13:45:18 +03:00
blockchainer crypto: remove crypto.Verifiable interface 2021-03-26 13:45:18 +03:00
chaindump block: drop Network from the Header 2021-03-26 13:45:18 +03:00
dao dao: drop network from DAO 2021-03-26 13:45:18 +03:00
fee core/fee: alter opcode prices 2021-03-11 15:44:09 +03:00
interop dao: drop network from DAO 2021-03-26 13:45:18 +03:00
mempool transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
mpt mpt: allow to remove non-existent keys in batch 2021-02-17 12:37:44 +03:00
native dao: drop network from DAO 2021-03-26 13:45:18 +03:00
state state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
stateroot stateroot: reject validated root if it doesn't match local one 2021-03-27 00:33:11 +03:00
storage *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
test_data change block/tx/extensible signing process, fix #1741 2021-03-12 11:27:50 +03:00
transaction transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
blockchain.go stateroot: try to fix MPT caching/updating 2021-03-27 00:33:11 +03:00
blockchain_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
helper_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
interop_neo.go dao: use raw state.StorageItem instead of pointer 2021-03-09 12:11:25 +03:00
interop_neo_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
interop_system.go core: remove useless code from putWithContext 2021-03-19 18:57:29 +03:00
interop_system_test.go core: remove System.Contract.IsStandard 2021-03-16 16:59:23 +03:00
interops.go core: fix storage.Delete price 2021-03-19 18:57:00 +03:00
interops_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_contract_test.go dao: drop network from DAO 2021-03-26 13:45:18 +03:00
native_designate_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
native_ledger_test.go *: upgrade tests to use T.Cleanup() 2021-03-01 17:08:00 +03:00
native_management_test.go stateroot: try to fix MPT caching/updating 2021-03-27 00:33:11 +03:00
native_name_service_test.go transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
native_neo_test.go transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
native_notary_test.go transaction: drop Network from Transaction 2021-03-26 13:45:18 +03:00
native_oracle_test.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
native_policy_test.go native: allow to set candidate register price 2021-03-11 10:12:30 +03:00
notary_test.go payload: drop Network from P2PNotaryRequest 2021-03-26 13:45:18 +03:00
oracle_test.go core: move native node roles to a separate pkg 2021-03-23 13:56:34 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
stateroot_test.go state: fix MPTRoot JSONization 2021-03-26 13:45:18 +03:00
util.go block: drop Network from the Header 2021-03-26 13:45:18 +03:00
util_test.go change block/tx/extensible signing process, fix #1741 2021-03-12 11:27:50 +03:00