Skip to content

[30.x] Backports - #35083

Merged
achow101 merged 4 commits into
bitcoin:30.xfrom
fanquake:even_more_30_x_backports
May 6, 2026
Merged

achow101 merged 4 commits into
bitcoin:30.xfrom
fanquake:even_more_30_x_backports

Conversation

@fanquake

@fanquake fanquake commented Apr 15, 2026 •

Copy link
Copy Markdown
Member

…hainstate.py

Apply the timeout factor inside the add_block function.

Also, force named args for the two expected strings.

Also, add trailing comma for style.

Github-Pull: bitcoin#35080
Rebased-From: fa02eb8
@DrahtBot

DrahtBot commented Apr 15, 2026 •

Copy link
Copy Markdown
Contributor

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

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/35083.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK achow101

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

@willcl-ark willcl-ark left a comment

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.

This effectively reverts a3cb309 from PR bitcoin#30194.

That PR reduced the multi_index type signatures as recommended upstream, but
this is no longer supported as of boost 1.91 because it is no longer necessary.
1.91 drops support for the pre-c++11 work-arounds that bloated the type
signatures to begin with.

The upstream `BOOST_MULTI_INDEX_ENABLE_MPL_SUPPORT` define is meant to provide
compatibility with removed features, but it does not work for this case. Using
`indexed_by` directly when defining the `multi_index` (as opposed to inheriting
from it) works with all versions, and avoids the use of the back-compat define.

This is a slight regression when building against boost < 1.91 because the
bloated type signatures are reintroduced in that case, but it's not significant
enough to go to the trouble of introducing version detection and ifdefs.

Github-Pull: bitcoin#35175
Rebased-From: 0bc9d35
@fanquake
fanquake force-pushed the even_more_30_x_backports branch from ce45e8c to f04fb66 Compare May 1, 2026 06:54
l0rinc and others added 2 commits May 5, 2026 15:15
Docker 29.4.2 blocks `socketcall(2)` in the default seccomp profile:
https://docs.docker.com/engine/release-notes/29/#2942
https://github.com/moby/profiles/releases/tag/seccomp%2Fv0.2.2
moby/moby#52501

That affects the `i686, no IPC` job because it runs 32-bit Linux test binaries inside Docker.

Add Docker's documented `--security-opt seccomp=unconfined` workaround to this job's `CI_CONTAINER_CAP` - the hook `ci/test/02_run_container.py` already appends to `docker run`.

This restores socket availability for the 32-bit test binaries throughout the job:
https://docs.docker.com/engine/security/seccomp/#run-without-the-default-seccomp-profile

Github-Pull: bitcoin#35202
Rebased-From: 11c9ef9
@achow101

achow101 commented May 6, 2026

Copy link
Copy Markdown
Member

ACK 6c3f401

@achow101
achow101 merged commit 9fc3724 into bitcoin:30.x May 6, 2026
20 checks passed
@fanquake
fanquake deleted the even_more_30_x_backports branch May 6, 2026 10:19
morozow pushed a commit to morozow/bitcoin_rd that referenced this pull request May 8, 2026
0cc0669 doc: update release notes for v30.x (fanquake)
424a42c ci: unconfine seccomp for i686 no IPC (Lőrinc)
87ae24f multi_index: fix compilation failure with boost >= 1.91 (Cory Fields)
f68475d test: Add missing self.options.timeout_factor scale in tool_bitcoin_chainstate.py (MarcoFalke)

Pull request description:

  Backports:
  * bitcoin#35080
  * bitcoin#35175
  * bitcoin#35202

ACKs for top commit:
  achow101:
    ACK 0cc0669

Tree-SHA512: 3acc73ef19001f4a84e388f21215a239fd3017351f561019b4f688165f3fb2f347879ca285aa31b9cd9b96473c5b6edf175a050cf6c6a7ffed61ad3065df603e
@l0rinc l0rinc mentioned this pull request Jun 23, 2026
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.

6 participants