zebra_consensus::checkpoint::list

Trait ParameterCheckpoint

Source
pub trait ParameterCheckpoint {
    // Required methods
    fn genesis_hash(&self) -> Hash;
    fn checkpoint_list(&self) -> CheckpointList;
}
Expand description

Network methods related to checkpoints

Required Methods§

Source

fn genesis_hash(&self) -> Hash

Returns the hash for the genesis block in network.

Source

fn checkpoint_list(&self) -> CheckpointList

Returns the hard-coded checkpoint list for network.

Implementations on Foreign Types§

Source§

impl ParameterCheckpoint for Network

Implementors§