Function darkfid::task::consensus::consensus_init_task

source ยท
pub async fn consensus_init_task(
    node: DarkfiNodePtr,
    config: ConsensusInitTaskConfig,
    ex: ExecutorPtr,
) -> Result<()>
Expand description

Sync the node consensus state and start the corresponding task, based on node type.