c4ee310e85
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. |
||
---|---|---|
.. | ||
callbacks.go | ||
module.go | ||
prometheus.go | ||
store.go | ||
validators.go |