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
FullConsensus::validate_block_post_execution
.
Enums§
- Consensus Errors
Traits§
- Helper trait to cast
Arc<dyn FullConsensus>
toArc<dyn Consensus>
- Helper trait to cast
Arc<dyn Consensus>
toArc<dyn HeaderValidator>
- Consensus is a protocol that chooses canonical chain.
Consensus
implementation which knows full node primitives and is able to validation block’s execution outcome.- HeaderValidator is a protocol that validates headers and their relationships.