Skip to content

[pull] master from bitcoin:master - #1873

Merged
pull[bot] merged 6 commits into
All-Blockchains:masterfrom
bitcoin:master
Sep 24, 2026
Merged

pull[bot] merged 6 commits into
All-Blockchains:masterfrom
bitcoin:master

Conversation

@pull

@pull pull Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

GuTS805 and others added 6 commits August 5, 2026 08:39
… in offline-signing-tutorial.md

funded_psbt.txt and final_psbt.txt are each expected to hold exactly one
PSBT/hex string, consumed via unquoted $(cat ...) in every later step. Using
append (>>) instead of overwrite (>) means re-running the send or
walletprocesspsbt step without deleting the output file first appends a
second line, which $(cat ...) then word-splits into two arguments, causing
decodepsbt/analyzepsbt/walletprocesspsbt/sendrawtransaction to reject the
call with too many arguments.

Fixes #35862.
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.
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.
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.
9fd18ae ci: print Windows cross compiler thread model (will)
1d59d5a ci: use POSIX threads in Nix Windows cross shell (will)
96d487c ci: raise BuildKit step log limit (will)

Pull request description:

  Guix release binaries use GCC’s POSIX thread model, while the pinned Nixpkgs toolchain defaults to mcf. This makes POSIX the default for Nix Windows cross builds. Nightly builds can select `mcf` or `win32` with the `threadModel` argument.

  The Nixpkgs `threads` setting selects the model before GCC is built. Only the mcf model pulls in `mcfgthreads`. For POSIX, GCC’s target libraries need winpthreads headers and libraries during the compiler build. The `EXTRA_*_FOR_TARGET` flags provide those paths without exposing target headers to GCC’s native build tools, which caused the earlier build failure.

  The compiler wrapper includes winpthreads through `extraPackages`, so the shell no longer needs to export pthread include and library flags manually. CI also prints GCC’s configured thread model to make mismatches visible.

  Fixes #36314

ACKs for top commit:
  hebasto:
    ACK 9fd18ae.

Tree-SHA512: b8ce5b19c82ecc347df161e4698d7f023c82b83f1907fea35b66ca37f54a00f1011dbd7642ba4d7ce2ca9ffd16e48e9327b69caa4108a44ca451194ac070e389
…hot PSBT files in offline-signing-tutorial.md

be30864 doc: use overwrite (>) instead of append (>>) for one-shot PSBT files in offline-signing-tutorial.md (GuTS805)

Pull request description:

  `funded_psbt.txt` and `final_psbt.txt` should only ever have one line in them, since later steps just do `$(cat ...)` to read them back. but the tutorial uses `>>` (append) instead of `>` (overwrite), so if you run the `send` or `walletprocesspsbt` step twice without deleting the file, it adds a second line instead of replacing the first one. then `$(cat ...)` picks up both lines as separate args and the next command fails with too many arguments.

  Fixes #35862.

ACKs for top commit:
  Sjors:
    ACK be30864
  sedited:
    ACK be30864

Tree-SHA512: af388ffd3f0beb6e9d0e54e5e745d36380f11cdbea64c3563015aded882872401a4a3032c46493381a8b5eed510530a2c3f5a81701d7d3039c9c1c9741a8bd7b
@pull pull Bot locked and limited conversation to collaborators Sep 24, 2026
@pull pull Bot added the ⤵️ pull label Sep 24, 2026
@pull
pull Bot merged commit bfdcd97 into All-Blockchains:master Sep 24, 2026
0 of 25 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants