pub trait BlockHeaderSpec: Hashable + Resistable + Verifiable {
    fn merkle_root(&self) -> H256;
    fn nonce(&self) -> BlockNc;
    fn parent(&self) -> H256;
    fn rand(&self) -> u128;
    fn timestamp(&self) -> BlockTs;

    fn header(&self) -> &Self { ... }
}

Required Methods

Provided Methods

Implementors