Crate reth_optimism_flashblocks

Crate reth_optimism_flashblocks 

Source
Expand description

A downstream integration of Flashblocks.

Structs§

FlashBlockBuildInfo
Information for a flashblock currently built
FlashBlockCompleteSequence
A complete sequence of flashblocks, often corresponding to a full block.
FlashBlockConsensusClient
Consensus client that sends FCUs and new payloads using blocks from a FlashBlockService
FlashBlockPendingSequence
An ordered B-tree keeping the track of a sequence of FlashBlocks by their indices.
FlashBlockService
The FlashBlockService maintains an in-memory PendingFlashBlock built out of a sequence of FlashBlocks.
FlashblocksListeners
Container for all flashblocks-related listeners.
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§

WsConnect
The WsConnect trait allows for connecting to a websocket.

Type Aliases§

FlashBlock
Type alias for the Optimism flashblock payload.
FlashBlockCompleteSequenceRx
Receiver of the sequences of FlashBlocks built.
FlashBlockRx
Receiver of received FlashBlocks from the (websocket) subscription.
InProgressFlashBlockRx
Receiver that signals whether a FlashBlock is currently being built.
PendingBlockRx
Receiver of the most recent PendingFlashBlock built out of FlashBlocks.