Module leaves

Source
Expand description

Helper for managing the set of available leaves in the chain for DB implementations.

Structsยง

FinalizationOutcome
Removed leaves after a finalization action.
ImportOutcome
Inserted and removed leaves after an import action.
LeafSet
list of leaf hashes ordered by number (descending). stored in memory for fast access. this allows very fast checking and modification of active leaves.
RemoveOutcome
Inserted and removed leaves after a remove action.
Undo
Helper for undoing operations.