Function zebra_state::service::read::find::collect_chain_headers

source ยท
fn collect_chain_headers<C>(
    chain: Option<C>,
    db: &ZebraDb,
    intersection: Option<Hash>,
    stop: Option<Hash>,
    max_len: u32,
) -> Vec<Arc<Header>>
where C: AsRef<Chain>,
Expand description

Returns a list of block::Headers in the chain, following the intersection with the chain.

See find_chain_hashes() for details.