Crate reth_optimism_flashblocks

Crate reth_optimism_flashblocks 

Source
Expand description

A downstream integration of Flashblocks.

Structs§

ExecutionPayloadBaseV1
Represents the base configuration of an execution payload that remains constant throughout block construction. This includes fundamental block properties like parent hash, block number, and other header fields that are determined at block creation and cannot be modified.
ExecutionPayloadFlashblockDeltaV1
Represents the modified portions of an execution payload within a flashblock. This structure contains only the fields that can be updated during block construction, such as state root, receipts, logs, and new transactions. Other immutable block fields like parent hash and block number are excluded since they remain constant throughout the block’s construction.
FlashBlock
Represents a Flashblock, a real-time block-like structure emitted by the Base L2 chain.
FlashBlockService
The FlashBlockService maintains an in-memory [PendingBlock] built out of a sequence of FlashBlocks.
Metadata
Provides metadata about the block that may be useful for indexing or analysis.
WsFlashBlockStream
An asynchronous stream of FlashBlock from a websocket connection.

Traits§

WsConnect
The WsConnect trait allows for connecting to a websocket.

Type Aliases§

FlashBlockRx
Receiver of the most recent [PendingBlock] built out of FlashBlocks.