Expand description
Consensus protocol functions
Modules§
- A consensus implementation that does nothing.
- test_
utils test-utils
test helpers for mocking consensus
Structs§
HeaderConsensusError
combines aConsensusError
with theSealedHeader
it relates to.- Post execution input passed to
Consensus::validate_block_post_execution
.
Enums§
- Consensus Errors
Traits§
- Helper trait to cast
Arc<dyn Consensus>
toArc<dyn HeaderValidator>
- Consensus is a protocol that chooses canonical chain.
- HeaderValidator is a protocol that validates headers and their relationships.