-persistmempool
is currently treated as -nopersistmempool
-persistmempool
is currently treated as -nopersistmempool
-persistmempool
should be noted in release notes, but otherwise code review ACK faff17bbde6dcb1482a6210bc48b3192603a446f
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Tested ACK faff17bbde6dcb1482a6210bc48b3192603a446f
Verified that cherry-picking just the test change fails on master.
Any idea when this regressed, or has this been the case since the option was introduced?
Probably since it was introduced in #9966. Fortunately, I think it’s unlikely that anyone would be using -persistmempool
since the default is true.
it’s unlikely that anyone would be using -persistmempool since the default is true.
Indeed. Also, there is no bug report. So maybe we can skip the backport, as the bugfix is also a (silent) behaviour change.
85@@ -86,6 +86,12 @@ New settings
86 Updated settings
87 ----------------
88
89+- The meaning of the command line option `-persistmempool` (without a value
90+ provided) incorrectly disabled mempool persistance. `-persistmempool` is now
91+ treated like other boolen options to mean `-persistmempool=1`.
85@@ -86,6 +86,12 @@ New settings
86 Updated settings
87 ----------------
88
89+- The meaning of the command line option `-persistmempool` (without a value
90+ provided) incorrectly disabled mempool persistance. `-persistmempool` is now
91+ treated like other boolen options to mean `-persistmempool=1`.
92+ `-persistmempool=0`, `-persistmempool=1` and `-nopersistmempool` are
0 Passing `-persistmempool=0`, `-persistmempool=1` and `-nopersistmempool` is
85@@ -86,6 +86,12 @@ New settings
86 Updated settings
87 ----------------
88
89+- The meaning of the command line option `-persistmempool` (without a value
90+ provided) incorrectly disabled mempool persistance. `-persistmempool` is now
85@@ -86,6 +86,12 @@ New settings
86 Updated settings
87 ----------------
88
89+- The meaning of the command line option `-persistmempool` (without a value
Removed from 0.21 backport for now, because this is a behaviour change. It is not affecting anyone with high likelyhood.
If it is backported to 22.1, the release notes can be cleared in master
.