darkfid::task::sync

Function 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.