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.
FlashBlockBuildInfo
Information for a flashblock currently built
FlashBlockCompleteSequence
A complete sequence of flashblocks, often corresponding to a full block. Ensure invariants of a complete flashblocks sequence.
FlashBlockConsensusClient
Consensus client that sends FCUs and new payloads using blocks from a FlashBlockService
FlashBlockService
The FlashBlockService maintains an in-memory PendingFlashBlock built out of a sequence of FlashBlocks.
Metadata
Provides metadata about the block that may be useful for indexing or analysis.
PendingFlashBlock
The pending block built with all received Flashblocks alongside the metadata for the last added Flashblock.
WsFlashBlockStream
An asynchronous stream of FlashBlock from a websocket connection.

Traits§

FlashBlockDecoder
A trait for decoding flashblocks from bytes.
WsConnect
The WsConnect trait allows for connecting to a websocket.

Type Aliases§

FlashBlockCompleteSequenceRx
Receiver of the sequences of FlashBlocks built.
InProgressFlashBlockRx
Receiver that signals whether a FlashBlock is currently being built.
PendingBlockRx
Receiver of the most recent PendingFlashBlock built out of FlashBlocks.