Trait fuel_core_poa::ports::TransactionPool
source · pub trait TransactionPool: Send + Sync {
// Required methods
fn pending_number(&self) -> usize;
fn total_consumable_gas(&self) -> u64;
fn remove_txs(&self, tx_ids: Vec<(TxId, ExecutorError)>) -> Vec<ArcPoolTx>;
fn transaction_status_events(&self) -> BoxStream<TxId>;
}
Required Methods§
sourcefn pending_number(&self) -> usize
fn pending_number(&self) -> usize
Returns the number of pending transactions in the TxPool
.