neoneo-go/pkg/core/stateroot
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
..
callbacks.go stateroot: broadcast state on new blocks 2021-03-09 13:51:11 +03:00
module.go mpt: modify refcounted storage scheme to make GC possible 2022-02-10 21:56:20 +03:00
prometheus.go stateroot: move state-root related logic to core/stateroot 2021-03-09 13:48:29 +03:00
store.go core/state*: drop blockchainer.Blockchainer use 2022-01-14 19:57:16 +03:00
validators.go stateroot: broadcast state on new blocks 2021-03-09 13:51:11 +03:00