fuel_core_producer::block_producer::gas_price

Trait ConsensusParametersProvider

source
pub trait ConsensusParametersProvider {
    // Required method
    fn consensus_params_at_version(
        &self,
        version: &ConsensusParametersVersion,
    ) -> Result<Arc<ConsensusParameters>>;
}
Expand description

Interface for retrieving the consensus parameters.

Required Methods§

source

fn consensus_params_at_version( &self, version: &ConsensusParametersVersion, ) -> Result<Arc<ConsensusParameters>>

Retrieve the consensus parameters for the version.

Implementors§