aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index fa1dbbf4b5..4d7d53ff68 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -708,6 +708,10 @@ public:
return mapTx.project<0>(mapTx.get<index_by_wtxid>().find(wtxid));
}
TxMempoolInfo info(const GenTxid& gtxid) const;
+
+ /** Returns info for a transaction if its entry_sequence < last_sequence */
+ TxMempoolInfo info_for_relay(const GenTxid& gtxid, uint64_t last_sequence) const;
+
std::vector<TxMempoolInfo> infoAll() const;
size_t DynamicMemoryUsage() const;