Repository navigation
[32.x] More Backports - #36300
[32.x] More Backports#36300
Conversation
Correct six argument metadata entries that produce misleading or invalid OpenRPC defaults. The getdeploymentinfo blockhash fallback and four sighashtype fallbacks describe how omitted arguments are resolved. They are not literal values accepted by the RPCs, so mark them as DefaultHint values. The send include_watching option is boolean, but its string default makes the generated schema internally inconsistent. Use a boolean value, matching the analogous sendall option. Runtime behavior is unchanged. Github-Pull: bitcoin#36297 Rebased-From: b7f740c
|
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/36300. ReviewsSee the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste LLM Linter (✨ experimental)Possible places where named args for integral literals may be used (e.g.
Possible places where comparison-specific test macros should replace generic comparisons:
2026-10-01 15:57:12 |
Drop the default constructor and add a factory function to construct a WalletDescriptor from stream Github-Pull: bitcoin#36230 Rebased-From: 4cc00f7
Github-Pull: bitcoin#36230 Rebased-From: bb5e832
The canonical string comparison was slow because it would compute the canonical string for each comparison. This can be sped up by holding the canonical string in memory, computed upon construction of WalletDescriptor. To reduce memory usage, this string is further hashed so that the comparison operates over the hash of the canonical string. Github-Pull: bitcoin#36230 Rebased-From: 64abb3e
Github-Pull: bitcoin#36230 Rebased-From: 405b1d6
The hardened indicator for Minscript expressions in CompatDescriptorHash uses whichever hardened indicator was originally given by the user. Github-Pull: bitcoin#36230 Rebased-From: f0f6dce
Github-Pull: bitcoin#36230 Rebased-From: f6cbcfd
Github-Pull: bitcoin#36230 Rebased-From: ebf2f69
Github-Pull: bitcoin#36230 Rebased-From: 61edcf9
Reframe in terms of risk reduction rather than absolutes Github-Pull: bitcoin#36309 Rebased-From: 2630d8e
Github-Pull: bitcoin#36309 Rebased-From: f413729
The Windows cross-toolchain build can exceed BuildKit's default 2 MiB per-step log limit, which hides useful output. Raise the limit to 5 MiB for both CI builder configurations. This retains substantially more diagnostics without enabling unlimited logs. Github-Pull: bitcoin#36316 Rebased-From: 96d487c
Guix release binaries use the POSIX GCC thread model, but the pinned Nixpkgs cross compiler defaults to MCF. Select POSIX through the Nixpkgs threads hook so GCC and its target libraries agree. Leave threads.package null because making winpthreads a target dependency exposes its headers to native GCC build tools. Supply its headers and libraries through EXTRA_*_FOR_TARGET for target libraries instead. Add winpthreads to the compiler wrapper so builds in the shell get its include and library paths without manual NIX_CFLAGS_COMPILE or NIX_LDFLAGS exports. Github-Pull: bitcoin#36316 Rebased-From: 1d59d5a
BuildKit can truncate the compiler build log, hiding its configure flags. Print the compiler version and thread model when CI enters the Nix test shell so a mismatch is visible in the job output. Github-Pull: bitcoin#36316 Rebased-From: 9fd18ae
Keep private broadcast connections outside normal discouragement handling. Misbehaving private broadcast peers are still disconnected. Github-Pull: bitcoin#36312 Rebased-From: eab6630
Github-Pull: bitcoin#36324 Rebased-From: fa2c620
Shutdown saves and unregisters the fee estimator before draining queued validation callbacks, so a pending block update can be missing from the saved estimates. The mempool estimator also ignores its saved file on restart when the saved tip no longer matches the active tip. Queue a block update after the scheduler stops and check that the block-policy height in the saved estimates does not reflect it. Co-authored-by: Rob Hamilton <[email protected]> Github-Pull: bitcoin#36322 Rebased-From: 08729e6
Save and unregister the fee estimator after the existing callback drain so queued block updates are reflected in the saved estimates. The estimator comment now says its shutdown actions follow the callback drain. The old paragraph below the indexes claimed the drain only let wallets catch up, although wallets are already unloaded. The new comment beside the final chainstate flush keeps the accurate point that callbacks queued there can be dropped. Github-Pull: bitcoin#36322 Rebased-From: 8c27c38
|
Can we have #36233 here? |
…wallet Only kernel::Context users selected a hardware SHA256 implementation, so these tools fell back to the generic one. On an M2 Max, grind is ~5x faster and signing 2000 P2PKH inputs with bitcoin-tx ~2.3x. Github-Pull: bitcoin#36364 Rebased-From: 4048909
…bips.md Github-Pull: bitcoin#36377 Rebased-From: d57346d
Github-Pull: bitcoin#36336 Rebased-From: 54b8795
"none" read as though fee estimation was disabled, so rename the public value (and the FeeRateEstimatorType::NONE enumerator) to "auto", which describes what it does. Also reject unknown fee_rate_estimator values instead of silently coercing them to the default, so a mistyped value surfaces an error. The previous "none" spelling was never released, so it is rejected too. Co-authored-by: w0xlt <[email protected]> Github-Pull: bitcoin#36300 Rebased-From: 4056908
…mate When the mempool policy estimator cannot produce an estimate, GetFeeRateEstimate() now returns the block policy estimate rather than an error. The combined estimate starts from the block policy estimate and lowers it with the mempool estimate only when present, so the fallback path shares the log that reports the selected fee rate. An error is returned only when the block policy estimate itself is unavailable. Github-Pull: bitcoin#36300 Rebased-From: c0b7ca3
When the mempool fails to load at startup (persistence disabled, or a missing or corrupt mempool.dat), init notifies the fee_rate_estimator_man, which clears its tracked mined-block window. Otherwise the estimator would keep a window describing a mempool the node no longer has and, once the mempool refilled, serve an estimate built on it. Clearing makes the estimator report insufficient data until the window refills from the current tip, so the combined estimate falls back to the block policy estimate meanwhile. Github-Pull: bitcoin#36300 Rebased-From: 5b77288
|
ACK 7f0ffc9 All nice clean backports, all appear functionally correct too. Many missing release notes, but IIUC this is fine here as we are going to update the wiki directly (should remember to do this though!) |
"none" read as though fee estimation was disabled, so rename the public value (and the FeeRateEstimatorType::NONE enumerator) to "auto", which describes what it does. Also reject unknown fee_rate_estimator values instead of silently coercing them to the default, so a mistyped value surfaces an error. The previous "none" spelling was never released, so it is rejected too. Co-authored-by: w0xlt <[email protected]> Github-Pull: bitcoin#36365 Rebased-From: 4056908
…mate When the mempool policy estimator cannot produce an estimate, GetFeeRateEstimate() now returns the block policy estimate rather than an error. The combined estimate starts from the block policy estimate and lowers it with the mempool estimate only when present, so the fallback path shares the log that reports the selected fee rate. An error is returned only when the block policy estimate itself is unavailable. Github-Pull: bitcoin#36365 Rebased-From: c0b7ca3
When the mempool fails to load at startup (persistence disabled, or a missing or corrupt mempool.dat), init notifies the fee_rate_estimator_man, which clears its tracked mined-block window. Otherwise the estimator would keep a window describing a mempool the node no longer has and, once the mempool refilled, serve an estimate built on it. Clearing makes the estimator report insufficient data until the window refills from the current tip, so the combined estimate falls back to the block policy estimate meanwhile. Github-Pull: bitcoin#36365 Rebased-From: 5b77288
7f0ffc9 to
532b496
Compare
marcofleon
left a comment
There was a problem hiding this comment.
ACK 532b496
Backports are clean.
willcl-ark
left a comment
There was a problem hiding this comment.
ACK 532b496
metadata update in git range-diff 7f0ffc9b10c...532b496bc11 only
Includes:
HasWalletDescriptorperformance and other canonical descriptor string followups #36230block_policyand minor api change #36365