Trait parity_machine::Header[][src]

pub trait Header {
    fn bare_hash(&self) -> H256;
fn hash(&self) -> H256;
fn seal(&self) -> &[Vec<u8>];
fn author(&self) -> &Address;
fn number(&self) -> u64; }

A header. This contains important metadata about the block, as well as a "seal" that indicates validity to a consensus engine.

Required Methods

Cryptographic hash of the header, excluding the seal.

Cryptographic hash of the header, including the seal.

Get a reference to the seal fields.

The author of the header.

The number of the header.

Implementors