FlashBlock

Type Alias FlashBlock 

Source
pub type FlashBlock = OpFlashblockPayload;
Expand description

Type alias for the Optimism flashblock payload.

Aliased Type§

pub struct FlashBlock {
    pub payload_id: PayloadId,
    pub index: u64,
    pub base: Option<OpFlashblockPayloadBase>,
    pub diff: OpFlashblockPayloadDelta,
    pub metadata: OpFlashblockPayloadMetadata,
}

Fields§

§payload_id: PayloadId

The unique payload ID as assigned by the execution engine for this block.

§index: u64

A sequential index that identifies the order of this Flashblock.

§base: Option<OpFlashblockPayloadBase>

Immutable block properties shared across all flashblocks in the sequence. This is None for all flashblocks except the first in a sequence.

§diff: OpFlashblockPayloadDelta

Accumulating and changing block properties for this flashblock.

§metadata: OpFlashblockPayloadMetadata

Additional metadata about the flashblock such as receipts and balance changes.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 736 bytes