domain_runtime_primitives::opaque

Type Alias BlockId

source
pub type BlockId = BlockId<Block>;
Expand description

Opaque block identifier type.

Aliased Type§

enum BlockId {
    Hash(H256),
    Number(u32),
}

Variants§

§

Hash(H256)

Identify by block header hash.

§

Number(u32)

Identify by block number.