Module consensus

Source
Available on crate feature consensus only.
Expand description

Re-exported consensus types

Modules§

noop
A consensus implementation that does nothing.
test_utils
test helpers for mocking consensus
validation
Collection of consensus validation methods. Collection of methods for block validation.

Structs§

EthBeaconConsensus
Ethereum beacon consensus
HeaderConsensusError
HeaderConsensusError combines a ConsensusError with the SealedHeader it relates to.

Enums§

ConsensusError
Consensus Errors

Traits§

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.

Functions§

validate_block_post_execution
Validate a block with regard to execution results: