Type Definition sp_runtime::testing::Header

source ·
pub type Header = Header<u64, BlakeTwo256>;
Expand description

Block Header

Implementations§

source§

impl Header

source

pub fn new_from_number(number: <Self as Header>::Number) -> Self

A new header with the given number and default hash for all other fields.