Skip to content

[31.x] Backports - #34942

Merged
fanquake merged 5 commits into
bitcoin:31.xfrom
fanquake:31_x_more_backports
Apr 8, 2026
Merged

fanquake merged 5 commits into
bitcoin:31.xfrom
fanquake:31_x_more_backports

Conversation

@fanquake fanquake added this to the 31.0 milestone Mar 28, 2026
@DrahtBot

DrahtBot commented Mar 28, 2026 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK marcofleon, w0xlt

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

@fanquake fanquake changed the title fuzz: Remove unused g_setup pointers [31.x] Backports Mar 28, 2026
MarcoFalke and others added 3 commits April 1, 2026 09:27
These are unused and removing them avoids clang warnings like:

src/test/fuzz/deserialize.cpp:42:26: error: variable g_setup set but not used [-Werror,-Wunused-but-set-variable]

Github-Pull: bitcoin#34918
Rebased-From: fabbfec
Waste is a CAmount, which is an int64_t. This will overflow an int, so
`best_waste` should also be a `CAmount`.

Github-Pull: bitcoin#34939
Rebased-From: 890a09b
@fanquake
fanquake force-pushed the 31_x_more_backports branch from b0d1bcd to 56cdeab Compare April 1, 2026 01:27
@achow101

achow101 commented Apr 1, 2026

Copy link
Copy Markdown
Member

#34982?

alexanderwiederin and others added 2 commits April 3, 2026 10:40
No other *_destroy function in the Kernel API carries this annotation.
Following the convention set by free(), destroy functions should accept
null pointers.

Github-Pull: bitcoin#34982
Rebased-From: 7560854
These modules are no longer in use:
1. `cmake-build-system` since bitcoin#34550.
2. `gnu-build-system` since bitcoin#34627.
3. `download` since bitcoin#34550.
4. `cc-for-target` from `utils` since bitcoin#34627.

Github-Pull: bitcoin#34944
Rebased-From: 325f743
@fanquake

fanquake commented Apr 3, 2026

Copy link
Copy Markdown
Member Author

#34982?

Added.

@stickies-v

Copy link
Copy Markdown
Contributor

What's the rationale for backporting #34982? It's not part of any release binaries and the interface is experimental?

@achow101

achow101 commented Apr 4, 2026

Copy link
Copy Markdown
Member

What's the rationale for backporting #34982? It's not part of any release binaries and the interface is experimental?

So that people who want to build against 31.x has it. We still distribute the source, and it's still important if the only way to use the interface requires compiling it yourself.

@fanquake
fanquake marked this pull request as ready for review April 7, 2026 00:26
@fanquake
fanquake requested a review from marcofleon April 7, 2026 00:26

@marcofleon marcofleon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ef10b2e

Backports are clean.

@w0xlt w0xlt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ef10b2e

@fanquake
fanquake merged commit e7d520d into bitcoin:31.x Apr 8, 2026
26 checks passed
@fanquake
fanquake deleted the 31_x_more_backports branch April 8, 2026 03:13
Comment thread contrib/guix/manifest.scm
(guix build-system python)
(guix build-system pyproject)
(guix build-system trivial)
(guix download)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The time-machine update that removes this is not in 31.x

Comment thread contrib/guix/manifest.scm
((gnu packages python-xyz) #:select (python-pydantic-2))
((gnu packages tls) #:select (openssl))
((gnu packages version-control) #:select (git-minimal))
(guix build-system cmake)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The time-machine update that removes this is not in 31.x

csjones added a commit to 21-DOT-DEV/swift-bitcoinkernel that referenced this pull request Apr 11, 2026
c96d9c28b3f Merge bitcoin/bitcoin#35034: [31.x] Fix guix build and rc4
4a5fdb0d88a doc: update manpages for v31.0rc4
7d56e1017db build: bump version to v31.0rc4
2937d4ba417 guix: Restore download and build-system-cmake modules
cc14d7ad3e7 Merge bitcoin/bitcoin#35028: [31.x] Backports + rc3
c168baec809 doc: update manual pages for v31.0rc3
275843f2a61 build: bump version to v31.0rc3
afa8ba04e00 test: remove macOS REDUCE_EXPORTS exception workaround
0df3ce87d90 Update libmultiprocess subtree to latest master
1bc22a38a8f Squashed 'src/ipc/libmultiprocess/' changes from 70f632bda8..3edbe8f67c
e7d520dcc6b Merge bitcoin/bitcoin#34942: [31.x] Backports
ef10b2ec657 guix: Clean up module list in manifest
f0e1014c396 kernel: Remove NONNULL annotation from destroy method
56cdeab8b54 depends, qt: Fix build on aarch64 macOS 26.4
f3b64aa4053 fuzz: Use CAmount for storing best_waste
98551a0efdc fuzz: Remove unused g_setup pointers
7375940eb2c Merge bitcoin/bitcoin#34952: Update libmultiprocess subtree in 31.x branch to fix race conditions on disconnects
2478a15ef96 Squashed 'src/ipc/libmultiprocess/' changes from 1868a84451f..70f632bda8f
613a5486488 Merge commit '2478a15ef966cc93d47dd0f461a44be39bc51534' into pr/subtree-9

git-subtree-dir: Vendor/bitcoin
git-subtree-split: c96d9c28b3f5bc71b54ba1d9d0b146ef2383caaf
csjones added a commit to 21-DOT-DEV/swift-bitcoinkernel that referenced this pull request Apr 11, 2026
* Align Swift API with Bitcoin Core v31.0 release changes

Remove payTxFee (removed upstream) and maxOrphanTx (no-op stub).
Add privateBroadcast and txoSpenderIndex config options. Update
dbCache doc comment with new default. Add mempoolOnly and
returnSpendingTx parameters to getTxSpendingPrevout.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

* Squashed 'Vendor/bitcoin/' content from commit e25b4bcc

git-subtree-dir: Vendor/bitcoin
git-subtree-split: e25b4bcc3e6270dcd2848d4314d14f19fea13374

* Squashed 'Vendor/bitcoin/' changes from f0e2cbc5e5e..c96d9c28b3f

c96d9c28b3f Merge bitcoin/bitcoin#35034: [31.x] Fix guix build and rc4
4a5fdb0d88a doc: update manpages for v31.0rc4
7d56e1017db build: bump version to v31.0rc4
2937d4ba417 guix: Restore download and build-system-cmake modules
cc14d7ad3e7 Merge bitcoin/bitcoin#35028: [31.x] Backports + rc3
c168baec809 doc: update manual pages for v31.0rc3
275843f2a61 build: bump version to v31.0rc3
afa8ba04e00 test: remove macOS REDUCE_EXPORTS exception workaround
0df3ce87d90 Update libmultiprocess subtree to latest master
1bc22a38a8f Squashed 'src/ipc/libmultiprocess/' changes from 70f632bda8..3edbe8f67c
e7d520dcc6b Merge bitcoin/bitcoin#34942: [31.x] Backports
ef10b2ec657 guix: Clean up module list in manifest
f0e1014c396 kernel: Remove NONNULL annotation from destroy method
56cdeab8b54 depends, qt: Fix build on aarch64 macOS 26.4
f3b64aa4053 fuzz: Use CAmount for storing best_waste
98551a0efdc fuzz: Remove unused g_setup pointers
7375940eb2c Merge bitcoin/bitcoin#34952: Update libmultiprocess subtree in 31.x branch to fix race conditions on disconnects
2478a15ef96 Squashed 'src/ipc/libmultiprocess/' changes from 1868a84451f..70f632bda8f
613a5486488 Merge commit '2478a15ef966cc93d47dd0f461a44be39bc51534' into pr/subtree-9

git-subtree-dir: Vendor/bitcoin
git-subtree-split: c96d9c28b3f5bc71b54ba1d9d0b146ef2383caaf

* Add header search paths for libbitcoinkernel to bitcoind target

Remove duplicate header files from bitcoind/src that are now provided by libbitcoinkernel. Add header search paths to allow bitcoind to find kernel headers in the extraction directory.

---------

Co-authored-by: csjones <[email protected]>
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
morozow pushed a commit to morozow/bitcoin_rd that referenced this pull request May 8, 2026
f0f7757 guix: Clean up module list in manifest (Hennadii Stepanov)
d896a15 kernel: Remove NONNULL annotation from destroy method (Alexander Wiederin)
28fc4f2 depends, qt: Fix build on aarch64 macOS 26.4 (Hennadii Stepanov)
afd7f78 fuzz: Use CAmount for storing best_waste (Ava Chow)
30ab368 fuzz: Remove unused g_setup pointers (MarcoFalke)

Pull request description:

  Backports:
  * bitcoin#34918
  * bitcoin#34939
  * bitcoin#34944
  * bitcoin#34956
  * bitcoin#34982

ACKs for top commit:
  marcofleon:
    ACK f0f7757
  w0xlt:
    ACK f0f7757

Tree-SHA512: 2d763deff7fa154fd697630bdb61644d4908b02b4a583cb648aeb9493009417d6d02367300e6d16d1c3b7ef8296b2411e1e96f8e67ef54fcd2fca4a415b97170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants