Repository navigation
flake: update nixpkgs for Bitcoin Core 32.1 and lnd 0.21.6 - #195
Merged
Merged
Conversation
seberm
marked this pull request as ready for review
November 1, 2026 14:20
Run helper/update-flake.sh. nixpkgs (nixos-26.05) moves to 2026-10-31 and nixpkgs-unstable to 2026-11-01. The nixos-search test flake is updated too. Pinned packages: bitcoin, bitcoind 31.1 -> 32.1 (stable) lnd 0.21.5-beta -> 0.21.6-beta (unstable) Core 32.1 fixes a remote memory exhaustion DoS through BIP31 pings that affects all platforms, disclosed on 2026-10-28, plus a second issue that doesn't affect Linux. nixpkgs took the major version, not 31.2. Core now limits concurrent RPC clients with -rpcmaxconnections (default 16) and raises the default -maxconnections from 125 to 200. Neither needs a versioning entry; both belong in the release notes. Assisted-by: Claude Code (claude-opus-5-5)
seberm
force-pushed
the
flake-bitcoin-32.1
branch
from
November 1, 2026 21:24
0d6b8a7 to
61bba65
Compare
prusnak
approved these changes
Nov 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relock with
helper/update-flake.shto get the Bitcoin Core security fix and the lnd mitigation for CVE-2026-98432 for 0.1.4. Both nixpkgs channels move forward, and the nixos-search flake is updated too.Pinned: bitcoin and bitcoind 31.1 → 32.1 (stable), lnd 0.21.5 → 0.21.6-beta (unstable).
Security
Possible problems
-rpcmaxconnectionsis new and defaults to 16. Extra RPC clients wait in the kernel queue until a slot frees up or they time out. A busy node running lnd, electrs, mempool, btcpayserver and fulcrum could stall. Connection counts on a real node are not measured. The workaround isservices.bitcoind.extraConfig = "rpcmaxconnections=32";. Please watch this on a real node before release.-maxconnectionsrises from 125 to 200, so nodes accept more inbound peers. Release notes only.bip125-replaceable,fullrbf,startingheightand thetaprootdeployment by default. Checked against the pinned sources: lnd 0.21.6 accepts theTAPROOTentry inscript_flags, electrs doesn't readbip125-replaceable, and none of the sources I searched use these fields in a way that breaks. NBitcoin handles a missingstartingheighton currentmaster; the pinned 10.0.12 source wasn't checked.No versioning entry: these are upstream behaviour changes and need no action from users.
Tested:
./test/run-tests.shpassesdefault,netnsandnetnsRegtestwith VMs.nix flake check --all-systemsevaluates cleanly and./test/shellcheck.shpasses. All of this is short-lived VMs only: no mainnet node and no upgrade of an existing 31.1 datadir. The pinned lnd build reportsDefaultGODEBUG=multipathtcp=0ingo version -m.test/nixos-search/ci-test.shand the deployment examples were left to CI.