Crate reth_consensus

Source
Expand description

Consensus protocol functions

Modules§

noop
A consensus implementation that does nothing.
test_utilstest-utils
test helpers for mocking consensus

Structs§

HeaderConsensusError
HeaderConsensusError combines a ConsensusError with the SealedHeader it relates to.

Enums§

ConsensusError
Consensus Errors

Traits§

AsConsensus
Helper trait to cast Arc<dyn FullConsensus> to Arc<dyn Consensus>
AsHeaderValidator
Helper trait to cast Arc<dyn Consensus> to Arc<dyn HeaderValidator>
Consensus
Consensus is a protocol that chooses canonical chain.
FullConsensus
Consensus implementation which knows full node primitives and is able to validation block’s execution outcome.
HeaderValidator
HeaderValidator is a protocol that validates headers and their relationships.