Function darkfid::task::consensus::consensus_task

source ยท
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.