neoneo-go/pkg/core/mpt
Anna Shaleva 6381173293 core: store statesync-related storage items under temp prefix
State jump should be an atomic operation, we can't modify contract
storage items state on-the-fly. Thus, store fresh items under temp
prefix and replase the outdated ones after state sync is completed.
Related
https://github.com/nspcc-dev/neo-go/pull/2019#discussion_r693350460.
2021-09-07 19:43:27 +03:00
..
base.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
batch.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
batch_test.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
bench_test.go mpt: use BinWriter.Grow() instead of custom buffer 2021-08-10 09:34:05 +03:00
billet.go core: store statesync-related storage items under temp prefix 2021-09-07 19:43:27 +03:00
billet_test.go core: collapse completed parts of Billet 2021-09-07 19:43:27 +03:00
branch.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
compat_test.go core: adjust comments on behaviour defferences for MPT TestCompatibility 2021-09-03 13:46:52 +03:00
doc.go mpt: implement MPT trie 2020-07-30 12:42:15 +03:00
empty.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
extension.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
hash.go core: collapse completed parts of Billet 2021-09-07 19:43:27 +03:00
helpers.go core: implement statesync module 2021-09-07 19:43:27 +03:00
helpers_test.go core: implement statesync module 2021-09-07 19:43:27 +03:00
leaf.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
node.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
node_test.go mpt: add Size method to trie nodes 2021-08-06 12:01:16 +03:00
proof.go mpt: move empty hash node in a separate type 2021-08-06 12:01:16 +03:00
proof_test.go core: implement statesync module 2021-09-07 19:43:27 +03:00
trie.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00
trie_test.go core: allow empty MPT Leaf values 2021-09-03 13:46:48 +03:00