aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorglozow <gloriajzhao@gmail.com>2024-08-06 15:25:28 +0100
committerglozow <gloriajzhao@gmail.com>2024-08-07 10:19:52 +0100
commit1f93e3c360f3da38a02fe6c01551f424a2d63dc9 (patch)
treeddd42b88bb80933c9321049563681c212e0e1a7d /src/node
parent4400c979a309ed03c7ed55644122622eb7def089 (diff)
add deprecation warning for mempoolfullrbf
Diffstat (limited to 'src/node')
-rw-r--r--src/node/mempool_args.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node/mempool_args.cpp b/src/node/mempool_args.cpp
index f329affb1d..a488c1b149 100644
--- a/src/node/mempool_args.cpp
+++ b/src/node/mempool_args.cpp
@@ -93,6 +93,9 @@ util::Result<void> ApplyArgsManOptions(const ArgsManager& argsman, const CChainP
}
mempool_opts.full_rbf = argsman.GetBoolArg("-mempoolfullrbf", mempool_opts.full_rbf);
+ if (!mempool_opts.full_rbf) {
+ LogInfo("Warning: mempoolfullrbf=0 set but deprecated and will be removed in a future release\n");
+ }
mempool_opts.persist_v1_dat = argsman.GetBoolArg("-persistmempoolv1", mempool_opts.persist_v1_dat);