Function darkfid::task::sync::sync_best_fork

source ยท
async fn sync_best_fork(
    node: &DarkfiNodePtr,
    peers: &[ChannelPtr],
    last_tip: &HeaderHash,
)
Expand description

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