fuel_core_txpool::ports

Trait GasPriceProvider

source
pub trait GasPriceProvider:
    Send
    + Sync
    + 'static {
    // Required method
    fn next_gas_price(&self) -> Word;
}
Expand description

Trait for getting gas price for the Tx Pool code to look up the gas price for a given block height

Required Methods§

source

fn next_gas_price(&self) -> Word

Calculate gas price for the next block.

Implementors§