pub trait TransactionPool {
    fn pending_number<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn total_consumable_gas<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<u64>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn remove_txs<'life0, 'async_trait>(
        &'life0 mut self,
        tx_ids: Vec<TxId>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ArcPoolTx>>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }

Required Methods§

Returns the number of pending transactions in the TxPool.

Implementors§