neoneo-go/pkg/core/statesync
Roman Khimov c4ee310e85 mpt: modify refcounted storage scheme to make GC possible
Add "active" flag into the node data and make the remainder modal, for active
nodes it's a reference counter, for inactive ones the deactivation height is
stored.

Technically, refcounted chains storing just one trie don't need a flag, but
it's a bit simpler this way.
2022-02-10 21:56:20 +03:00
..
module.go mpt: modify refcounted storage scheme to make GC possible 2022-02-10 21:56:20 +03:00
module_test.go mpt: modify refcounted storage scheme to make GC possible 2022-02-10 21:56:20 +03:00
mptpool.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00
mptpool_test.go core: fix bug in MPT pool during Update 2021-09-07 19:43:27 +03:00