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§