-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Fix (inverse) meaning of -persistmempool #23061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Any idea when this regressed, or has this been the case since the option was introduced? |
|
I haven't checked, but I remember seeing this bug (#23062) since I started working on Bitcoin Core, though I might be mistaken. |
|
Ok adding backport label for 0.21.x as well then. That seems far enough back. |
ryanofsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think change of behavior for -persistmempool should be noted in release notes, but otherwise code review ACK faff17b
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, 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 faff17b Verified that cherry-picking just the test change fails on master.
Probably since it was introduced in #9966. Fortunately, I think it's unlikely that anyone would be using |
Indeed. Also, there is no bug report. So maybe we can skip the backport, as the bugfix is also a (silent) behaviour change. |
fac37da to
eeee1ac
Compare
jonatack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find.
fabd873 to
fa94851
Compare
|
ACK fa94851fcd |
ryanofsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review ACK fa94851fcd1636549c35bc7c3b42348a350d5741. (I thought I acked this previously, but my comments were stuck in draft. Feel free to ignore suggestions below which may be a little late)
fa94851 to
faa9c19
Compare
hebasto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK faa9c19, I have reviewed the code and it looks OK, I agree it can be merged.
|
reACK faa9c19 |
|
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 |
Github-Pull: bitcoin#23061 Rebased-From: faff17b
|
Being backported to 22.x in #23276. |
Github-Pull: bitcoin#23061 Rebased-From: faff17b
Github-Pull: bitcoin#23061 Rebased-From: faa9c19
Github-Pull: bitcoin#23061 Rebased-From: faff17b
Github-Pull: bitcoin#23061 Rebased-From: faff17b
Github-Pull: bitcoin#23061 Rebased-From: faa9c19
269553f test: Call ceildiv helper with integer (Martin Zumsande) 2f60fc6 ci: Replace soon EOL hirsute with jammy (MarcoFalke) 801b0f0 build: patch qt to explicitly define previously implicit header include (Kittywhiskers Van Gogh) c768bfa tests: Calculate fees more similarly to CFeeRate::GetFee (Andrew Chow) f66bc42 tests: Test for assertion when feerate is rounded down (Andrew Chow) bd7e08e fees: Always round up fee calculated from a feerate (Andrew Chow) 227ae65 wallet: fix segfault by avoiding invalid default-ctored `external_spk_managers` entry (Sebastian Falbesoner) 282863a refactor: include a missing <limits> header in fs.cpp (Joan Karadimov) 7febe4f consensus: don't call GetBlockPos in ReadBlockFromDisk without lock (Jon Atack) c671c6f the result of CWallet::IsHDEnabled() was initialized with true. (Saibato) a5a1538 build, qt: Fix typo in QtInputSupport check (Hennadii Stepanov) c95b188 system: skip trying to set the locale on NetBSD (fanquake) c1cdedd guix: Fix powerpc64(le) dynamic linker name (Carl Dong) 92d44ff doc: Add 23061 release notes (MarcoFalke) db76db7 Fix (inverse) meaning of -persistmempool (MarcoFalke) 85c78e0 build: Restrict check for CRC32C intrinsic to aarch64 (W. J. van der Laan) Pull request description: Collecting backports for the 22.1 release. Currently: * #23045 * #23061 * #23148 * #22390 * #22820 * #22781 * #22895 * #23335 * #23333 * #22949 * #23580 * #23504 * #24239 ACKs for top commit: achow101: ACK 269553f Tree-SHA512: b3a57ea241be7a83488eeb032276f4cf82a0987aada906a82f94a20c4acf9f2397708249dcecbe1c7575e70d09c60b835233d4718af4013c7bc58896c618274c
Summary: This is a backport of [[bitcoin/bitcoin#23061 | core#23061]] Test Plan: `ninja all check-all` I checked that applying the test change without the code changes causes `mempool_persist.py` to fail. Reviewers: #bitcoin_abc, Fabien Reviewed By: #bitcoin_abc, Fabien Differential Revision: https://reviews.bitcoinabc.org/D11944
Passing
-persistmempoolis currently treated as-nopersistmempool