Repository navigation
[31.x] Backports - #35231
Merged
Merged
[31.x] Backports#35231
Conversation
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35231. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste |
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 7, 2026 09:33
1a38ba4 to
10ff9f4
Compare
send_batch_request() was building raw dicts without a "jsonrpc" version, which made Core to treat them as version 1.0 requests. This worked in normal mode, but failed with --usecli because TestNodeCLI.batch() expects callables, not dicts. This commit fixes it by using get_request() which is defined in both AuthServiceProxy and TestNodeCLIAttr. The assert is changed because by using get_reques() AuthServiceProxy treats it as "jsonrpc" version 2.0 requests, which don't return "error" keys. Github-Pull: bitcoin#34991 Rebased-From: 5603ae0
Add the flag --extended to a test (00_setup_env_i686_no_ipc.sh) with the --usecli flag to cover all tests with --usecli. Github-Pull: bitcoin#34991 Rebased-From: a49bc1e
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 7, 2026 09:42
10ff9f4 to
0b56eec
Compare
Github-Pull: bitcoin#34228 Rebased-From: 9f7a229
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 8, 2026 10:15
0b56eec to
9554240
Compare
Github-Pull: bitcoin#35230 Rebased-From: fad6189
The `coinscache_sim` fuzz target builds a 23-byte P2SH scriptPubKey manually. Place `OP_EQUAL` at index 22, after `OP_HASH160`, the 20-byte push opcode, and the 20-byte script hash. This matches `CScript::IsPayToScriptHash()`, which checks byte 22 for `OP_EQUAL`, see src/script/script.cpp#L229 Github-Pull: bitcoin#35218 Rebased-From: ac58e6c
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 8, 2026 13:51
9554240 to
a6967e9
Compare
The BDB metadata field `last_page` stores the last valid page number, not the number of pages. The read-only wallet migration parser currently checks reset LSNs with a half-open loop, so it skips the final page and may accept a database whose last page still depends on BDB log files. Github-Pull: bitcoin#35227 Rebased-From: e2b0984
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 11, 2026 10:23
a6967e9 to
5f6c1c6
Compare
The FreeBSD, NetBSD, and OpenBSD build guides state that ZMQ support is compiled in when the package is installed. Since WITH_ZMQ defaults to OFF, update the wording to mention the required CMake option. Github-Pull: bitcoin#35283 Rebased-From: ca93ab8
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 14, 2026 11:13
5f6c1c6 to
473c0c4
Compare
Github-Pull: bitcoin#35289 Rebased-From: 004a7e3
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 14, 2026 15:49
473c0c4 to
fe0dc7e
Compare
The logging.warning call referenced `bci["bestblockhash"]`, a variable from the calling scope `do_generate()` that is not available inside the `Generate.gbt()` method. This would crash with a NameError when getblocktemplate returned a template based on an unexpected previous block. Use the `bestblockhash` parameter that was already being passed in and used correctly in the comparison on the line above. The bug was introduced in 7b31332 when the gbt logic was extracted into its own method — the if-condition was updated but the logging call was not. Github-Pull: bitcoin#35044 Rebased-From: 701bc2d
fanquake
force-pushed
the
more_31_x_backports
branch
from
May 15, 2026 12:51
fe0dc7e to
506051c
Compare
fanquake
marked this pull request as ready for review
May 19, 2026 13:12
marcofleon
approved these changes
May 19, 2026
willcl-ark
approved these changes
May 19, 2026
willcl-ark
left a comment
Member
There was a problem hiding this comment.
ACK 506051c
backports are all clean and present in release notes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports
SOURCE_DATE_EPOCHingen_idscript #34228P2SHscript in coins cache fuzz target #35218txorphan#35289