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.
pub async fn consensus_init_task(
node: DarkfiNodePtr,
config: ConsensusInitTaskConfig,
ex: ExecutorPtr,
) -> Result<()>
Sync the node consensus state and start the corresponding task, based on node type.