diff options
author | Antoine Riard <dev@ariard.me> | 2022-04-27 10:25:22 -0400 |
---|---|---|
committer | Antoine Riard <dev@ariard.me> | 2022-07-06 20:57:29 -0400 |
commit | 3e27e317270fdc2dd02794fea9da016387699636 (patch) | |
tree | 4ca7453d07febd54f8dff13a8dbf61fbe7b685f0 /src/mempool_args.cpp | |
parent | 5bc10b39abbcb77638161902ccd1225139bc7cc0 (diff) |
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/mempool_args.cpp')
-rw-r--r-- | src/mempool_args.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mempool_args.cpp b/src/mempool_args.cpp index e26cbe0275..77caa127e9 100644 --- a/src/mempool_args.cpp +++ b/src/mempool_args.cpp @@ -33,5 +33,7 @@ void ApplyArgsManOptions(const ArgsManager& argsman, MemPoolOptions& mempool_opt if (auto hours = argsman.GetIntArg("-mempoolexpiry")) mempool_opts.expiry = std::chrono::hours{*hours}; + mempool_opts.full_rbf = argsman.GetBoolArg("-mempoolfullrbf", mempool_opts.full_rbf); + ApplyArgsManOptions(argsman, mempool_opts.limits); } |