reth::primitives

Type Alias BlockBody

pub type BlockBody<T = TransactionSigned> = BlockBody<T>;
Expand description

A response to GetBlockBodies, containing bodies if any bodies were found.

Withdrawals can be optionally included at the end of the RLP encoded message.

Aliased Type§

struct BlockBody<T = TransactionSigned> {
    pub transactions: Vec<T>,
    pub ommers: Vec<Header>,
    pub withdrawals: Option<Withdrawals>,
}

Fields§

§transactions: Vec<T>

Transactions in this block.

§ommers: Vec<Header>

Ommers/uncles header.

§withdrawals: Option<Withdrawals>

Block withdrawals.

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: 72 bytes