Function darkfid::task::sync::most_common_tip

source ยท
async fn most_common_tip(
    node: &DarkfiNodePtr,
    last_tip: &HeaderHash,
    checkpoint: Option<(u32, HeaderHash)>,
) -> (u32, Vec<ChannelPtr>)
Expand description

Auxiliary function to ask all peers for their current tip and find the most common one.