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§
- Get the history tree of the provided chain.
- Returns a list of Orchard
NoteCommitmentSubtree
s with indexes in the provided range. - Returns the Orchard
NoteCommitmentTree
specified by a hash or height, if it exists in the non-finalizedchain
or finalizeddb
. - Returns a list of Sapling
NoteCommitmentSubtree
s with indexes in the provided range. - Returns the Sapling
NoteCommitmentTree
specified by a hash or height, if it exists in the non-finalizedchain
or finalizeddb
. - subtrees 🔒Returns a list of
NoteCommitmentSubtree
s in the provided range.