Function zebra_state::service::read::tree::orchard_tree

source ยท
pub fn orchard_tree<C>(
    chain: Option<C>,
    db: &ZebraDb,
    hash_or_height: HashOrHeight,
) -> Option<Arc<NoteCommitmentTree>>
where C: AsRef<Chain>,
Expand description

Returns the Orchard NoteCommitmentTree specified by a hash or height, if it exists in the non-finalized chain or finalized db.