pub trait BlockId: Eq + Ord + Clone + Debug + Hash + Serialize {
    // Required method
    fn zero() -> Self;
}
Expand description

Trait identifying the block identifier type. TODO: add a Readable trait bound

Required Methods§

source

fn zero() -> Self

A special ID used to denote a non-existent block (e.g. the parent of the first block).

Implementors§