aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
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.cpp
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.cpp')
-rw-r--r--src/txmempool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 69ae9fed99..aeaa10034e 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -458,6 +458,7 @@ CTxMemPool::CTxMemPool(const Options& opts)
minerPolicyEstimator{opts.estimator},
m_max_size_bytes{opts.max_size_bytes},
m_expiry{opts.expiry},
+ m_full_rbf{opts.full_rbf},
m_limits{opts.limits}
{
_clear(); //lock free clear