aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorAntoine Riard <dev@ariard.me>2022-04-27 10:25:22 -0400
committerAntoine Riard <dev@ariard.me>2022-07-06 20:57:29 -0400
commit3e27e317270fdc2dd02794fea9da016387699636 (patch)
tree4ca7453d07febd54f8dff13a8dbf61fbe7b685f0 /src/txmempool.h
parent5bc10b39abbcb77638161902ccd1225139bc7cc0 (diff)
downloadbitcoin-3e27e317270fdc2dd02794fea9da016387699636.tar.xz
Introduce `mempoolfullrbf` node setting.
This new node policy setting enables to accept replaced-by-fee transaction without inspection of the replaceability signaling as described in BIP125 "explicit signaling". If turns on, the node mempool accepts transaction replacement as described in `policy/mempool-replacements.md`. The default setting value is `false`, implying opt-in RBF is enforced.
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index f44e78fde5..6e37f59f2e 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -568,6 +568,7 @@ public:
const int64_t m_max_size_bytes;
const std::chrono::seconds m_expiry;
+ const bool m_full_rbf;
using Limits = kernel::MemPoolLimits;