pub trait HasHeader { type Header: Header; fn header(&self) -> Self::Header; }
Access to the block header.
If featured by the blockchain, the header can be used to transmit block’s metadata via a network protocol or in other uses where the full content of the block is too bulky and not necessary.
The block header type.
Retrieves the block’s header.