Type Alias tuxedo_core::types::Header

source ·
pub type Header = Header<BlockNumber, Hash>;
Expand description

Because all tuxedo chains use the same Blocknumber and Hash types, they also use the same concrete header type.

Aliased Type§

struct Header {
    pub parent_hash: H256,
    pub number: u32,
    pub state_root: H256,
    pub extrinsics_root: H256,
    pub digest: Digest,
}

Fields§

§parent_hash: H256

The parent hash.

§number: u32

The block number.

§state_root: H256

The state trie merkle root

§extrinsics_root: H256

The merkle root of the extrinsics.

§digest: Digest

A chain-specific digest of data useful for light clients or referencing auxiliary data.