Function darkfid::task::sync::sync_task

source ยท
pub async fn sync_task(
    node: &DarkfiNodePtr,
    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.