fuel_core_producer::ports

Trait TxPool

source
pub trait TxPool: Send + Sync {
    type TxSource;

    // Required method
    async fn get_source(
        &self,
        gas_price: u64,
        block_height: BlockHeight,
    ) -> Result<Self::TxSource>;
}

Required Associated Types§

source

type TxSource

The source of the transactions used by the executor.

Required Methods§

source

async fn get_source( &self, gas_price: u64, block_height: BlockHeight, ) -> Result<Self::TxSource>

Returns the source of includable transactions.

Object Safety§

This trait is not object safe.

Implementors§