Trait parity_machine::ScoredHeader[][src]

pub trait ScoredHeader: Header {
    type Value;
    fn score(&self) -> &Self::Value;
fn set_score(&mut self, score: Self::Value); }

A header with an associated score (difficulty in PoW terms)

Associated Types

Required Methods

Get the score of this header.

Set the score of this header.

Implementors