Module consensus
Source - ConsensusInitTaskConfig
- Auxiliary structure representing node consensus init task configuration.
- clean_blocktemplates ๐
- Auxiliary function to drop mining block templates not referencing
active forks or last confirmed block.
- 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.
- listen_to_network ๐
- Async task to start the consensus task, while monitoring for a network disconnections.
- monitor_network ๐
- Async task to monitor network disconnections.