async fn consensus_task(
node: &DarkfiNodePtr,
subscription: &Subscription<JsonNotification>,
ex: &ExecutorPtr,
) -> Result<()>
Expand description
Async task used for listening for new blocks and perform consensus.
async fn consensus_task(
node: &DarkfiNodePtr,
subscription: &Subscription<JsonNotification>,
ex: &ExecutorPtr,
) -> Result<()>
Async task used for listening for new blocks and perform consensus.