Module consensus

Source

Structsยง

ConsensusInitTaskConfig
Auxiliary structure representing node consensus init task configuration

Functionsยง

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