fuel_core_txpool::ports

Trait ConsensusParametersProvider

source
pub trait ConsensusParametersProvider:
    Send
    + Sync
    + 'static {
    // Required method
    fn latest_consensus_parameters(
        &self,
    ) -> (ConsensusParametersVersion, Arc<ConsensusParameters>);
}
Expand description

Trait for getting the latest consensus parameters.

Required Methods§

source

fn latest_consensus_parameters( &self, ) -> (ConsensusParametersVersion, Arc<ConsensusParameters>)

Get latest consensus parameters.

Implementors§