Skip to main content

chain_ending_at

Function chain_ending_at 

Source
fn chain_ending_at(
    headers: &BTreeMap<u64, &Header>,
    tip: u64,
) -> Option<Vec<u64>>
Expand description

Returns, in sequence order, the chain that ends at tip if tip is complete, see select_chain.