Skip to content

Add bitcoin core v31.0#14

Merged
djkazic merged 4 commits intomasterfrom
v31.0-rc1
Apr 22, 2026
Merged

Add bitcoin core v31.0#14
djkazic merged 4 commits intomasterfrom
v31.0-rc1

Conversation

@djkazic
Copy link
Copy Markdown

@djkazic djkazic commented Mar 19, 2026

Adds bitcoin core v31.0.

Manually built and tested locally for both the alpine and prebuilt variants.

Also includes some janitorial fixes:

  • Removes v26 from the build jobs
  • Bumps v30 to v30.2, as the former was removed from the bitcoincore.org build server

@djkazic djkazic self-assigned this Mar 19, 2026
Copy link
Copy Markdown

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Nice! The alpine build currently doesn't work, but have a suggestion for a fix.

Comment thread 31/alpine/Dockerfile
Comment thread 31/alpine/Dockerfile
Comment thread 31/alpine/Dockerfile
@lightninglabs-deploy
Copy link
Copy Markdown

@guggero: review reminder

@guggero
Copy link
Copy Markdown

guggero commented Mar 28, 2026

Hmm, not sure if this is a CDN issue or the DNS somehow resolves differently for you, but I still get:

0.117 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
0.349 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
0.667 ERROR: unable to select packages:
0.667   gosu (no such package):
0.667     required by: world[gosu]

With docker build -t guggero/bitcoin-core:31 --build-arg RC=rc1 --build-arg RC_DIR=test.rc1/ --build-arg TARGETPLATFORM=linux/amd64 -f 31/alpine/Dockerfile 31

@djkazic
Copy link
Copy Markdown
Author

djkazic commented Mar 28, 2026

Ah! I think that could explain it. I was building for arm, let me try the cross-platform build now.

@djkazic
Copy link
Copy Markdown
Author

djkazic commented Mar 28, 2026

Hmm, nope. It still built with your exact command on my machine:

#12 [stage-1 5/9] RUN apk --no-cache add   boost-filesystem   boost-system   boost-thread   gosu   libevent   libzmq   shadow   sqlite-dev   su-exec
#12 0.426 ( 1/23) Installing libgcc (15.2.0-r2)
#12 0.445 ( 2/23) Installing libstdc++ (15.2.0-r2)
#12 0.474 ( 3/23) Installing boost1.84-filesystem (1.84.0-r3)
#12 0.561 ( 4/23) Installing boost1.84-system (1.84.0-r3)
#12 0.667 ( 5/23) Installing boost1.84-thread (1.84.0-r3)
#12 0.683 ( 6/23) Installing gosu (1.17-r18)

Perhaps you have to invalidate some builder cache?

Copy link
Copy Markdown

@guggero guggero left a comment

Choose a reason for hiding this comment

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

Hmm, doesn't seem to be cache... But must be something on my end, so not blocking the PR on it. LGTM 🎉

@djkazic djkazic changed the title Add bitcoin core v31.0-rc1 Add bitcoin core v31.0 Apr 22, 2026
@djkazic
Copy link
Copy Markdown
Author

djkazic commented Apr 22, 2026

Reusing this for Bitcoin Core v31 release.

@djkazic djkazic merged commit 52fc673 into master Apr 22, 2026
24 checks passed
@djkazic djkazic deleted the v31.0-rc1 branch April 23, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants