add deprecation warning for mempoolfullrbf

This commit is contained in:
glozow committed 2024-08-07 10:19:52 +01:00
1 parent 4400c979a3
commit 1f93e3c360
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -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);