Function darkfid::task::sync::sync_task

source ยท
pub async fn sync_task(
    node: &Darkfid,
    checkpoint: Option<(u32, HeaderHash)>,
) -> Result<()>
Expand description

async task used for block syncing. A checkpoint can be provided to ensure node syncs the correct sequence.