Expand description
A downstream integration of Flashblocks.
Structs§
- Execution
Payload Base V1 - 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.
- Execution
Payload Flashblock Delta V1 - 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.
- Flash
Block - Represents a Flashblock, a real-time block-like structure emitted by the Base L2 chain.
- Flash
Block Build Info - Information for a flashblock currently built
- Flash
Block Complete Sequence - A complete sequence of flashblocks, often corresponding to a full block. Ensure invariants of a complete flashblocks sequence.
- Flash
Block Consensus Client - Consensus client that sends FCUs and new payloads using blocks from a
FlashBlockService - Flash
Block Pending Sequence - An ordered B-tree keeping the track of a sequence of
FlashBlocks by their indices. - Flash
Block Service - The
FlashBlockServicemaintains an in-memoryPendingFlashBlockbuilt out of a sequence ofFlashBlocks. - Metadata
- Provides metadata about the block that may be useful for indexing or analysis.
- Pending
Flash Block - The pending block built with all received Flashblocks alongside the metadata for the last added Flashblock.
- WsFlash
Block Stream - An asynchronous stream of
FlashBlockfrom a websocket connection.
Traits§
- Flash
Block Decoder - A trait for decoding flashblocks from bytes.
- WsConnect
- The
WsConnecttrait allows for connecting to a websocket.
Type Aliases§
- Flash
Block Complete Sequence Rx - Receiver of the sequences of
FlashBlocks built. - InProgress
Flash Block Rx - Receiver that signals whether a
FlashBlockis currently being built. - Pending
Block Rx - Receiver of the most recent
PendingFlashBlockbuilt out ofFlashBlocks.