Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Bitcoin Core 23.0 #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
thinkmassive merged 0 commits into lightninglabs:master from thinkmassive:bitcoind-23.0
Apr 26, 2022

Conversation

@thinkmassive
Copy link

@thinkmassive thinkmassive commented Apr 26, 2022

Our repo diverged from the upstream ruimarinho repo, because that one didn't yet have v22.0 when we wanted to build the images. This PR adds Bitcoin Core 23.0 to the upstream, along with a small change to allow the github workflow to push images to other Docker Hub repos. It has conflicts with our master branch, although I think we may want to replace our old master with one that's more forward-compatible with upstream.

It took quite a while to work out issues with the gpg keys, so I'm opening this here first, as a draft to gather feedback. There will also be a breaking change with one Github secrets names:

  • DOCKER_API_KEY was reverted to DOCKER_HUB_PASSWORD to match upstream
    • Personal access tokens still work, and that's preferable to a password
  • DOCKER_USERNAME was renamed to DOCKER_HUB_USER for consistency
    • This will need to be added to upstream, might belong in a separate PR for that

The other major change to the github workflow, compared with our current master, is we changed docker/login-action@v1 to lightninglabs/gh-actions/login-action@2021年01月25日.00. It does seem preferable to use one under our control and/or pin an exact version, so this might be a change we need to re-apply on our fork with each release.

As far as building the image itself, the Dockerfiles are nearly the same as v22.0. The main difference was updating the gpg keys, and removing one problematic sig from SHA256SUMS.asc (using sed) for which I could not find a usable public key from any keyservers:

C388F6961FB972A95678E327F62711DBDCA8AE56
kvaciral@protonmail.com

It was found on keys.openpgp.org, however the identity was stripped, so it wasn't easily usable. I'm not sure if this is likely to eventually propagate to other keyservers, and/or the sig removed from SHA256SUMS.asc if it causes problems for many others. Ultimately I think a better solution might be bitcoin/bitcoin/pull/23020, but I think it should only be included after it's merged.

Copy link
Author

I think it's good to go for an upstream PR if we drop the last commit. Mainly wanted to get your input about removing that one problematic signature in case you have a better idea for handling it @guggero

Copy link

@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.

utACK, but looks great 🎉

@thinkmassive thinkmassive force-pushed the bitcoind-23.0 branch 5 times, most recently from e1f15e5 to 5aa77e4 Compare April 26, 2022 18:15
@thinkmassive thinkmassive merged commit 5aa77e4 into lightninglabs:master Apr 26, 2022
@thinkmassive thinkmassive deleted the bitcoind-23.0 branch April 26, 2022 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@guggero guggero guggero approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /