Commit graph

2512 commits

Author SHA1 Message Date
Byron Hambly
0b1508bf01
ci: fix lint issues 2025-04-17 11:06:32 +02:00
Byron Hambly
a41021b283 Merge abbc17048a into merged_master (Elements PR #1432) 2025-04-16 11:16:26 +02:00
Byron Hambly
1dcc7ee4ff Merge 6db0a3002b into merged_master (Bitcoin PR bitcoin/bitcoin#27488) 2025-04-14 09:10:21 +02:00
Byron Hambly
0030d5e1f1 Merge 3133d935ce into merged_master (Bitcoin PR bitcoin/bitcoin#27482) 2025-04-14 09:02:47 +02:00
Byron Hambly
18c946b772 Merge b627924300 into merged_master (Bitcoin PR bitcoin/bitcoin#26681) 2025-04-14 09:01:55 +02:00
Byron Hambly
c5c05d4317 Merge 69460bd8bc into merged_master (Bitcoin PR bitcoin/bitcoin#27461) 2025-04-12 18:03:17 +02:00
Byron Hambly
e72bac5d65 Merge cd603edeef into merged_master (Bitcoin PR bitcoin/bitcoin#27444) 2025-04-12 17:33:08 +02:00
Byron Hambly
7f7a1d0505 Merge 9270a56662 into merged_master (Bitcoin PR bitcoin/bitcoin#27440) 2025-04-12 13:31:07 +02:00
Byron Hambly
6ec6068fd5 Merge db720b5a70 into merged_master (Bitcoin PR bitcoin/bitcoin#27358) 2025-04-12 13:31:02 +02:00
Byron Hambly
a2dfa99383 Merge 6b9fedd221 into merged_master (Bitcoin PR bitcoin/bitcoin#27361) 2025-04-12 11:29:05 +02:00
Byron Hambly
8182a98c75 Merge 8e7179aa13 into merged_master (Bitcoin PR bitcoin/bitcoin#27345) 2025-04-12 10:17:43 +02:00
Byron Hambly
8920a5be84 Merge b968424c25 into merged_master (Bitcoin PR bitcoin/bitcoin#27326) 2025-04-11 22:43:01 +02:00
Byron Hambly
5ac8e93940 Merge 7fbc70395c into merged_master (Bitcoin PR bitcoin/bitcoin#27296) 2025-04-11 22:35:51 +02:00
Thomas Trevethan
2e74f169db Merge f4e42a78c7 into merged_master (Bitcoin PR bitcoin/bitcoin#27179) 2025-04-11 14:54:10 +01:00
Thomas Trevethan
b49bfac365 Merge 60f142e395 into merged_master (Bitcoin PR bitcoin/bitcoin#26531) 2025-04-11 14:45:16 +01:00
Byron Hambly
8a27c1f2e2 Merge 8c4958bd4c into merged_master (Bitcoin PR bitcoin/bitcoin#27153) 2025-04-10 08:44:48 +02:00
Byron Hambly
8758211294 Merge 74981aa02d into merged_master (Bitcoin PR bitcoin/bitcoin#27172) 2025-04-09 13:11:21 +02:00
Byron Hambly
97d2bd7fad Merge 4398cfb22b into merged_master (Bitcoin PR bitcoin/bitcoin#27173) 2025-04-09 13:11:04 +02:00
Byron Hambly
8504c4cd53 Merge 873dcc1910 into merged_master (Bitcoin PR bitcoin/bitcoin#27058) 2025-04-09 06:12:18 +02:00
Byron Hambly
acea46af43 Merge 6758bd7de7 into merged_master (Bitcoin PR bitcoin/bitcoin#27135) 2025-04-09 06:12:10 +02:00
Tom Trevethan
fad4c02c57 Merge 0c579203d2 into merged_master (Bitcoin PR bitcoin/bitcoin#25867) 2025-04-08 12:33:05 +00:00
Byron Hambly
54025896c4 Merge fe1b325688 into merged_master (Bitcoin PR bitcoin/bitcoin#27029) 2025-04-06 21:44:29 +02:00
Byron Hambly
1162fc8d53 Merge 98042a0456 into merged_master (Bitcoin PR bitcoin/bitcoin#27107) 2025-04-05 22:59:01 +02:00
Byron Hambly
d74e294a9c Merge cbf511b3f4 into merged_master (Bitcoin PR bitcoin/bitcoin#27054) 2025-04-05 21:01:40 +02:00
Byron Hambly
fe19dd317d Merge 2b0cd7679f into merged_master (Bitcoin PR bitcoin/bitcoin#27076) 2025-04-05 18:02:09 +02:00
Byron Hambly
660ff4301d Merge 5a80086ec2 into merged_master (Bitcoin PR bitcoin/bitcoin#26701) 2025-04-05 14:36:57 +02:00
Tom Trevethan
c578bcd7a0 Merge 483a4bb819 into merged_master (Bitcoin PR bitcoin/bitcoin#26834) 2025-04-04 14:23:06 +00:00
Byron Hambly
30170c6bd9 Merge aef8b4f43b into merged_master (Bitcoin PR bitcoin/bitcoin#26226) 2025-04-03 11:42:16 +02:00
Byron Hambly
15ee93eec6 Merge 8741cd88b4 into merged_master (Bitcoin PR bitcoin/bitcoin#26913) 2025-04-03 11:17:09 +02:00
Byron Hambly
70fcaeee5d Merge e6ff110820 into merged_master (Bitcoin PR bitcoin/bitcoin#26810) 2025-04-03 10:40:27 +02:00
Byron Hambly
4b62493f28 Merge 0c2a1288a2 into merged_master (Bitcoin PR bitcoin/bitcoin#26835) 2025-04-02 10:02:41 +02:00
Tom Trevethan
0fa67e0cb9 Merge 296e882250 into merged_master (Bitcoin PR bitcoin/bitcoin#26598) 2025-04-01 15:13:59 +00:00
Tom Trevethan
a42526d5d7 Merge 4717a5aa31 into merged_master (Bitcoin PR bitcoin/bitcoin#26772) 2025-04-01 09:57:06 +00:00
Byron Hambly
2210416134 Merge f301bf52ab into merged_master (Bitcoin PR bitcoin/bitcoin#26257) 2025-04-01 08:27:16 +02:00
Byron Hambly
b4405ba453 Merge e9262ea32a into merged_master (Bitcoin PR bitcoin/bitcoin#26750) 2025-03-31 16:37:52 +02:00
Byron Hambly
047c6214c2 Merge 06dd571534 into merged_master (Bitcoin PR bitcoin/bitcoin#26748) 2025-03-31 16:30:09 +02:00
Tom Trevethan
9bb1474ac0 Merge bbfcbcfa0c into merged_master (Bitcoin PR bitcoin/bitcoin#24611) 2025-03-25 14:13:15 +00:00
Byron Hambly
c2694cf426 lint: fix trailing windows whitespace in win-codesign.cert 2025-03-11 07:34:37 +00:00
fanquake
cd457a5212 guix: use --build={arch}-guix-linux-gnu in cross toolchain
Technically we are always cross-compiling, so make that explicit.

Fixes: #22458.

Github-Pull: #25861
Rebased-From: 56e79fe683
2025-03-10 16:56:53 +00:00
fanquake
f12ddd1a5c guix: patch NSIS to remove .reloc sections from install stubs
With the release of binutils/ld 2.36, ld swapped to much improved
default settings when producing windows binaries with mingw-w64. One of
these changes was to stop stripping the .reloc section from binaries,
which is required for working ASLR.

.reloc section stripping is something we've accounted for previously,
see #18702. The related upstream discussion is in this thread:
https://sourceware.org/bugzilla/show_bug.cgi?id=19011.

When we switched to using a newer Guix time-machine in #23778, we begun
using binutils 2.37 to produce releases. Since then, our windows
installer (produced with makensis) has not functioned correctly when run on
a Windows system with the "Force randomization for images (Mandatory ASLR)"
option enabled. Note that all of our other release binaries, which all
contain .reloc sections, function fine under the same option, so it
cannot be just the presence of a .reloc section that is the issue.

For now, restore makensis to it's pre-binutils-2.36 behaviour, which
fixes the produced installer. The underlying issue can be further
investigated in future.

Github-Pull: #25788
Rebased-From: 7a0b129c41
2025-03-10 16:56:41 +00:00
Andrew Chow
078731cd46 windeploy: Renewed windows code signing certificate
Github-Pull: #25201
Rebased-From: 7e9fe6d800
2025-03-10 16:21:00 +00:00
fanquake
0f68c548ac guix: fix GCC 10.3.0 + mingw-w64 setjmp/longjmp issues
This commit backports a patch to the GCC 10.3.0 we build for Windows
cross-compilation in Guix. The commit has been backported to the GCC
releases/gcc-10 branch, but hasn't yet made it into a release.

The patch corrects a regression from an earlier GCC commit, see:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=357c4350680bf29f0c7a115424e3da11c53b5582
and
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=074226d5aa86cd3de517014acfe34c7f69a2ccc7,
related to the way newer versions of mingw-w64 implement setjmp/longjmp.

Ultimately this was causing a crash for us when Windows users were
viewing the network traffic tab inside the GUI. After some period, long
enough that a buffer would need reallocating, a call into FreeTypes
gray_record_cell() would result in a call to ft_longjmp (longjmp), which
would then trigger a crash.

Fixes: https://github.com/bitcoin-core/gui/issues/582.

See also:
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=e8d1ca7d2c344a411779892616c423e157f4aea8.
https://bugreports.qt.io/browse/QTBUG-93476.

Github-Pull: #24842
Rebased-From: 457148a803
2025-03-10 15:57:39 +00:00
fanquake
d572cdf759 guix: fix vmov alignment issues with gcc 10.3.0 & mingw-w64
This introduces a patch to our GCC (10.3.0) mingw-w64 compiler, in Guix, to make
it avoid using aligned vmov instructions. This works around a longstanding issue
in GCC, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412, which was recently
discovered to be causing issues, see #24726.

Note that distros like Debian are also patching around this issue, and that is
where this patch comes from. This would also explain why we haven't run into this
problem earlier, in development builds. See:
https://salsa.debian.org/mingw-w64-team/gcc-mingw-w64/-/blob/master/debian/patches/vmov-alignment.patch.

Fixes #24726.
Alternative to #24727.

See also:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939559

Github-Pull: #24736
Rebased-From: d6fae988ef
2025-03-10 15:37:18 +00:00
Hennadii Stepanov
8bde23c8e7 build: Fix "ERR: Unsigned tarballs do not exist"
Github-Pull: #24733
Rebased-From: 7762c5683f
2025-03-10 15:37:04 +00:00
Andrew Chow
d5746d466e Update signapple for platform identifier fix
Github-Pull: #24573
Rebased-From: 3c74f775ac
2025-03-10 13:33:14 +00:00
Hennadii Stepanov
e182058ad0 guix: Use "win64" for Windows artifacts consistently
Github-Pull: #24549
Rebased-From: 53dd6165b8
2025-03-10 13:33:03 +00:00
Hennadii Stepanov
513c001fab guix: Drop "-signed" suffix for signed macOS .dmg files
This change makes naming of the signed artifacts consistent across
different OSes, including Windows.

Github-Pull: #24549
Rebased-From: 4b4b04a66d
2025-03-10 11:52:24 +00:00
Sebastian Falbesoner
62b5e053d8 contrib: fix signet miner (sighash mismatch)
PSBT signing was changed to use SIGHASH_DEFAULT by default in #22514.
The signet miner script sets the sighash type of the created PSBT to
SIGHASH_ALL, hence this leads to a sighash mismatch when the
`walletprocesspsbt` RPC is called. Fix this by explicitly passing the
correct sighash type.

Note that the same change was needed in one of our functional tests,
see commit d3992669df.

Reported by gruve-p.

Github-Pull: bitcoin#24553
Rebased-From: 12cc020
2025-03-10 11:52:12 +00:00
Hennadii Stepanov
fd2a5b7a4e guix: Use $HOST instead of generic osx{64} for macOS artifacts
Github-Pull: #24549
Rebased-From: 933a43018f
2025-03-10 11:52:05 +00:00
Andrew Chow
141288d44d build, mac: Include arch in codesignature tarball
Github-Pull: #24506
Rebased-From: 0189df1d31
2025-03-10 11:51:22 +00:00