Expand description
Structs§
- Build
Task - The
BuildTaskis responsible for building new blocks and importing them via the engine API. - Consolidate
Task - The
ConsolidateTaskattempts to consolidate the engine state using the specified payload attributes and the oldest unsafe head. - Engine
- The
Enginetask queue. - Engine
Client - An external engine api client
- Engine
State - The chain state viewed by the engine controller.
- Engine
Sync State - The sync state of the engine.
- Engine
Sync State Update - Specifies how to update the sync state of the engine.
- Finalize
Task - The
FinalizeTaskfetches theL2BlockInfoatblock_number, updates theEngineState, and dispatches a forkchoice update to finalize the block. - Forkchoice
Task - The
ForkchoiceTaskexecutes anengine_forkchoiceUpdatedcall with the currentEngineState’s forkchoice, and no payload attributes. - Insert
Task - The task to insert a payload into the execution engine.
- Metrics
- Container for metrics.
Enums§
- Attributes
Match - Represents whether the attributes match the block or not.
- Attributes
Mismatch - An enum over the type of mismatch between
OpAttributesWithParentand aBlock. - Build
Task Error - An error that occurs when running the crate::ForkchoiceTask.
- Consolidate
Task Error - An error that occurs when running the
crate::ConsolidateTask. - Engine
Client Error - An error that occurred in the
EngineClient. - Engine
Forkchoice Version - The method version for the
engine_forkchoiceUpdatedapi. - Engine
GetPayload Version - The method version for the
engine_getPayloadapi. - Engine
Kind - The engine kind identifies the engine client’s kind, used to control the behavior of optimism in different engine clients.
- Engine
NewPayload Version - The method version for the
engine_newPayloadapi. - Engine
Queries - Returns the full engine state.
- Engine
Queries Error - An error that can occur when querying the engine.
- Engine
Reset Error - An error occurred while attempting to reset the
Engine. - Engine
Task - Tasks that may be inserted into and executed by the
Engine. - Engine
Task Error Severity - The severity of an engine task error.
- Engine
Task Errors - An error that may occur during an
EngineTask’s execution. - Finalize
Task Error - An error that occurs when running the crate::FinalizeTask.
- Forkchoice
Task Error - An error that occurs when running the crate::ForkchoiceTask.
- Insert
Task Error - An error that occurs when running the InsertTask.
Traits§
- Engine
Task Error - The interface for an engine task error.
- Engine
Task Ext - The interface for an engine task.
Type Aliases§
- Engine
Query Sender - The type of data that can be requested from the engine.