aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 0a91cf31c7..4cc62448f9 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -14,6 +14,7 @@
#include <utility>
#include <vector>
+#include <kernel/mempool_limits.h>
#include <kernel/mempool_options.h>
#include <coins.h>
@@ -569,6 +570,10 @@ public:
const int64_t m_max_size_bytes;
const std::chrono::seconds m_expiry;
+ using Limits = kernel::MemPoolLimits;
+
+ const Limits m_limits;
+
/** Create a new CTxMemPool.
* Sanity checks will be off by default for performance, because otherwise
* accepting transactions becomes O(N^2) where N is the number of transactions