Function darkfid::task::consensus::consensus_task
source ยท async fn consensus_task(
node: Arc<Darkfid>,
subscription: &Subscription<JsonNotification>,
ex: Arc<Executor<'static>>,
) -> Result<()>
Expand description
Async task used for listening for new blocks and perform consensus.