ckb_chain_spec::consensus

Trait ConsensusProvider

Source
pub trait ConsensusProvider {
    // Required method
    fn get_consensus(&self) -> &Consensus;
}
Expand description

Trait for consensus provider.

Required Methods§

Source

fn get_consensus(&self) -> &Consensus

Returns the Consensus.

Implementors§