backend: update to btcd v0.26 and v2 modules #4360
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 207 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.319
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4360"
general
weight: 0.35
guggero
Depends on https://github.com/benma/miniscript-go/pull/1.
Depends on https://github.com/BitBoxSwiss/bitbox02-api-go/pull/179.
Maintenance update that bumps all
btcdrelated dependencies to the newest version, which includes a switch to the untangledv2modules.This is the third PR in a 3-part series that's required to eventually get these dependency updates into this repo.
Opening as draft until the dependent PRs are merged and
go.mod + go.sumare updated.Notable behavior changes
Bumping
bitbox02-api-gofrom the2026‑07‑01pin to the fork (≈ upstream2026‑08‑24) pulls in upstream changes that have nothing to do withbtcdand aren't mentioned anywhere: hard minimum firmware versions for signing (BTCSignnow errors belowv9.4.0,ETHSign/BTCSignMessage/ETHSignMessagebelowv9.5.0— the non-antiklepto fallback paths were removed), new ECDSA signature validation (secp256k1.go), silent-payment PSBT handling, and typed-message parsing changes ineth.go.P2A addresses are rejected
The
btcd/address/v2library now decodesAddressPayToAnchorsuccessfully. To avoid such addresses from being accepted for building a TX but then running into a generic "unrecognized output type" while signing, any P2A addresses are rejected by the wallet when decoding.Before asking for reviews, here is a check list of the most common things you might need to consider: