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§