Type Alias cfg_primitives::types::Block

source ·
pub type Block = Block<Header, OpaqueExtrinsic>;
Expand description

A generic block for the node to use, as we can not commit to a specific Extrinsic format at this point. Runtimes will ensure Extrinsic are correctly decoded. Used by the node.

Aliased Type§

struct Block {
    pub header: Header<u32, BlakeTwo256>,
    pub extrinsics: Vec<OpaqueExtrinsic>,
}

Fields§

§header: Header<u32, BlakeTwo256>

The block header.

§extrinsics: Vec<OpaqueExtrinsic>

The accompanying extrinsics.