diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-26 23:37:16 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-26 23:37:16 +0200 |
commit | 193b28506e906e16870fcba69544b19d630bedfe (patch) | |
tree | 5684a32a2436dff8b300d6b2680c37b908953750 /src/cryptonote_core/tx_pool.h | |
parent | Merge pull request #2311 (diff) | |
parent | wallet: new option to check/confirm txpool backlog when sending (diff) | |
download | monero-193b28506e906e16870fcba69544b19d630bedfe.tar.xz |
Merge pull request #2355
f906d87e wallet: new option to check/confirm txpool backlog when sending (moneromooo-monero)
55bec1f0 rpc: add a new RPC to get current txpool backlog (sizes and fees) (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/tx_pool.h')
-rw-r--r-- | src/cryptonote_core/tx_pool.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cryptonote_core/tx_pool.h b/src/cryptonote_core/tx_pool.h index 47a41d070..6414620c9 100644 --- a/src/cryptonote_core/tx_pool.h +++ b/src/cryptonote_core/tx_pool.h @@ -243,6 +243,13 @@ namespace cryptonote void get_transaction_hashes(std::vector<crypto::hash>& txs) const; /** + * @brief get (size, fee, receive time) for all transaction in the pool + * + * @param txs return-by-reference that data + */ + void get_transaction_backlog(std::vector<tx_backlog_entry>& backlog) const; + + /** * @brief get a summary statistics of all transaction hashes in the pool * * @param stats return-by-reference the pool statistics |