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
fn bare_hash(&self) -> H256
Cryptographic hash of the header, excluding the seal.
fn hash(&self) -> H256
Cryptographic hash of the header, including the seal.
fn seal(&self) -> &[Vec<u8>]
Get a reference to the seal fields.
The author of the header.
fn number(&self) -> u64
The number of the header.