fuel_block_producer::ports

Trait TxPool

Source
pub trait TxPool: Sync + Send {
    // Required method
    fn get_includable_txs<'life0, 'async_trait>(
        &'life0 self,
        block_height: BlockHeight,
        max_gas: u64,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ArcPoolTx>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn get_includable_txs<'life0, 'async_trait>( &'life0 self, block_height: BlockHeight, max_gas: u64, ) -> Pin<Box<dyn Future<Output = Result<Vec<ArcPoolTx>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§