Expand description
Reading note commitment trees.
In the functions in this module:
The block write task commits blocks to the finalized state before updating
chain with a cached copy of the best non-finalized chain from
NonFinalizedState.chain_set. Then the block commit task can commit additional blocks to
the finalized state after we’ve cloned the chain.
This means that some blocks can be in both:
Functions§
- history_
tree - Get the history tree of the provided chain.
- orchard_
subtrees - Returns a list of Orchard
NoteCommitmentSubtrees with indexes in the provided range. - orchard_
tree - Returns the Orchard
NoteCommitmentTreespecified by a hash or height, if it exists in the non-finalizedchainor finalizeddb. - sapling_
subtrees - Returns a list of Sapling
NoteCommitmentSubtrees with indexes in the provided range. - sapling_
tree - Returns the Sapling
NoteCommitmentTreespecified by a hash or height, if it exists in the non-finalizedchainor finalizeddb. - subtrees 🔒
- Returns a list of
NoteCommitmentSubtrees in the provided range.