Function zebra_state::service::read::tree::orchard_subtrees
source ยท pub fn orchard_subtrees<C>(
chain: Option<C>,
db: &ZebraDb,
range: impl RangeBounds<NoteCommitmentSubtreeIndex> + Clone,
) -> BTreeMap<NoteCommitmentSubtreeIndex, NoteCommitmentSubtreeData<Node>>
Expand description
Returns a list of Orchard 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.