pub trait Header: Sized + Encode {
type Number: Into<u64>;
type Hasher: Hasher;
fn number(&self) -> Self::Number;
fn hash(&self) -> <Self::Hasher as Hasher>::Output { ... }
}
Expand description
This represents the block header type used by a node.