reth_primitives

Type Alias Block

Source
pub type Block<T = TransactionSigned> = Block<T>;
Expand description

Ethereum full block.

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

Aliased Type§

struct Block<T = TransactionSigned> {
    pub header: Header,
    pub body: BlockBody<T>,
}

Fields§

§header: Header

Block header.

§body: BlockBody<T>

Block body.

Trait Implementations§

Source§

impl From<SealedBlock> for Block

Source§

fn from(block: SealedBlock) -> Self

Converts to this type from the input type.

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