Function zebra_state::service::block_iter::any_chain_ancestor_iter

source ·
pub(crate) fn any_chain_ancestor_iter<Item>(
    non_finalized_state: &NonFinalizedState,
    db: &ZebraDb,
    hash: Hash,
) -> Iter<Item> 
where Item: ChainItem,
Expand description

Returns a generic chain item iterator over the relevant chain containing hash, in order from the largest height to genesis.

The item with hash is included in the iterator. hash can come from any chain or db.