Crate reth_engine_primitives

Source
Expand description

Traits, validation methods, and helper types used to abstract over engine types.

Structs§

ForkchoiceStateTracker
The struct that keeps track of the received forkchoice state and their status.
OnForkChoiceUpdated
Represents the outcome of forkchoice update.

Enums§

BeaconEngineMessage
A message for the beacon engine from other components of the node (engine RPC API invoked by the consensus layer).
BeaconOnNewPayloadError
Represents all error cases when handling a new payload.
EngineApiMessageVersion
The version of Engine API message.
EngineObjectValidationError
Thrown when the payload or attributes are known to be invalid before processing.
ForkchoiceStateHash
A helper type to check represent hashes of a [ForkchoiceState]
ForkchoiceStatus
A simplified representation of [PayloadStatusEnum] specifically for FCU.
PayloadOrAttributes
Either an [ExecutionPayload] or a types that implements the [PayloadAttributes] trait.

Traits§

BuiltPayload
Represents a built payload type that contains a built [SealedBlock] and can be converted into engine API execution payloads.
EngineTypes
This type defines the versioned types of the engine API.
EngineValidator
Type that validates the payloads processed by the engine.
InvalidBlockHook
An invalid block hook.
PayloadTypes
The types that are used by the engine API.
PayloadValidator
Type that validates an [ExecutionPayload].