zebra_consensus::checkpoint

Function progress_from_tip

source
fn progress_from_tip(
    checkpoint_list: &CheckpointList,
    tip: Option<(Height, Hash)>,
) -> (Option<Hash>, Progress<Height>)
Expand description

Convert a tip into its hash and matching progress.