darkfid::task::consensus

Function 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.