Function zebra_state::service::read::tree::sapling_subtrees
source ยท pub fn sapling_subtrees<C>(
chain: Option<C>,
db: &ZebraDb,
range: impl RangeBounds<NoteCommitmentSubtreeIndex> + Clone,
) -> BTreeMap<NoteCommitmentSubtreeIndex, NoteCommitmentSubtreeData<Node>>
Expand description
Returns a list of Sapling NoteCommitmentSubtree
s with indexes in the provided range.
If there is no subtree at the first index in the range, the returned list is empty. Otherwise, subtrees are continuous up to the finalized tip.
See subtrees
for more details.