mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
feat: add futures api to TransactionPool (#1348)
* feat: add futures api to `TransactionPool` * fix clippy
This commit is contained in:
@@ -247,6 +247,9 @@ pub trait TransactionPool: Send + Sync {
|
||||
fn remove_invalid(&self, hashes: &[TxHash<Self>]) -> Vec<Arc<Self::InPoolTransaction>>;
|
||||
|
||||
// *** logging
|
||||
/// Get futures transaction list.
|
||||
fn futures(&self) -> Vec<Self::InPoolTransaction>;
|
||||
|
||||
/// Returns pool status.
|
||||
fn status(&self) -> PoolStatus;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user