neo-go/pkg/core/stateroot
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
..
callbacks.go stateroot: broadcast state on new blocks 2021-03-09 13:51:11 +03:00
module.go stateroot: try to fix MPT caching/updating 2021-03-27 00:33:11 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
store.go stateroot: reject validated root if it doesn't match local one 2021-03-27 00:33:11 +03:00
validators.go stateroot: broadcast state on new blocks 2021-03-09 13:51:11 +03:00