Module sc_client_api::leaves

source ·
Expand description

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

Structs

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