Function darkfid::task::sync::sync_best_fork

source ·
async fn sync_best_fork(
    node: &Darkfid,
    peers: &[ChannelPtr],
    last_tip: &HeaderHash
) -> Result<()>
Expand description

Auxiliary function to retrieve best fork state from a random peer.