Skip to content

build: migrate to btcd v2 modules - #524

Merged
Roasbeef merged 4 commits into
lightninglabs:masterfrom
hieblmi:hai/btcd-v2
Oct 21, 2026
Merged

Roasbeef merged 4 commits into
lightninglabs:masterfrom
hieblmi:hai/btcd-v2

Conversation

@hieblmi

@hieblmi hieblmi commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Migrate Pool's Bitcoin types to the btcd v2 modules so it can build with the dependency graph used by Loop #1199.

Use lndclient v0.21.0-3 and the v2-compatible lnd and Aperture revisions, regenerate interface mocks, and align build images and CI with Go 1.26. Raise the minimum runtime lnd version to v0.19.0-beta because L402 payments depend on SendPaymentV2's default timeout.

Use lnd revision f2963ce1fd19, which contains the released v0.21.4 forwarding-response recovery and replay fixes, rather than the older v2 snapshot. Align the SQL, queue, and result-helper modules with that revision and build with Go 1.26.8.

Validation: go test -race -timeout=20m -p=2 ./... passes. Exported Bitcoin Go types change. This is a companion migration for the combined LiT build.

@hieblmi
hieblmi marked this pull request as ready for review October 21, 2026 11:03

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

LGTM 🐔

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.

2 participants