Trait blockchain::consensus::Consensus [] [src]

pub trait Consensus<H> {
    fn create_for(header: &H) -> Self;
fn is_applicable(&self, header: &H) -> bool;
fn mine(&self, header: &mut H);
fn verify(&self, header: &H) -> bool; }

Required Methods

Implementors