Module beacon_consensus

Source
Expand description

Re-exported from reth_beacon_consensus.

Modules§

hooks
Hooks for running during the main loop of consensus engine.
sync
Sync management for the engine implementation.

Structs§

BeaconConsensusEngine
The beacon consensus engine is the driver that switches between historical and live sync.
BeaconConsensusEngineHandle
A shareable beacon consensus frontend type. Used to interact with the spawned beacon consensus engine task.
EthBeaconConsensus
Ethereum beacon consensus
InvalidHeaderCache
Keeps track of invalid headers.

Enums§

BeaconConsensusEngineError
The error type for the beacon consensus engine service BeaconConsensusEngine
BeaconConsensusEngineEvent
Events emitted by crate::BeaconConsensusEngine.
BeaconForkChoiceUpdateError
Represents error cases for an applied forkchoice update.
ConsensusEngineLiveSyncProgress
Progress of the consensus engine during live sync.

Constants§

MIN_BLOCKS_FOR_PIPELINE_RUN
The largest gap for which the tree will be used for sync. See docs for pipeline_run_threshold for more information.

Traits§

EngineNodeTypes
Helper trait expressing requirements for node types to be used in engine.

Type Aliases§

BeaconEngineResult
Beacon engine result.