darkfid::task

Module consensus

Source

Structsยง

Functionsยง

  • Sync the node consensus state and start the corresponding task, based on node type.
  • consensus_task ๐Ÿ”’
    Async task used for listening for new blocks and perform consensus.
  • monitor_network ๐Ÿ”’
    Async task to monitor network disconnections.
  • replicator_task ๐Ÿ”’
    Async task to start the consensus task, while monitoring for a network disconnections.