Function zebra_state::service::block_iter::any_ancestor_blocks

source ·
pub(crate) fn any_ancestor_blocks(
    non_finalized_state: &NonFinalizedState,
    db: &ZebraDb,
    hash: Hash,
) -> Iter<Block> 
Expand description

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

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

Use any_chain_ancestor_iter() in new code.