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: PayloadIdThe unique payload ID as assigned by the execution engine for this block.
index: u64A 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: OpFlashblockPayloadDeltaAccumulating and changing block properties for this flashblock.
metadata: OpFlashblockPayloadMetadataAdditional 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