Expand description
Helper for managing the set of available leaves in the chain for DB implementations.
Structsยง
- Finalization
Outcome - Removed leaves after a finalization action.
- Import
Outcome - 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.
- Remove
Outcome - Inserted and removed leaves after a remove action.
- Undo
- Helper for undoing operations.