lnd is migrating to btcd v0.26 and the new split v2 modules:
wire/v2, txscript/v2, chaincfg/v2, chainhash/v2, btcutil/v2, psbt/v2, address/v2.
Faraday is directly affected and should be updated so it can consume newer lnd and btcsuite module versions without mixing old btcd package paths with the new v2 module types.
Current impact observed on master:
go.mod still requires old btcd modules: github.com/btcsuite/btcd/btcutil, github.com/btcsuite/btcd/chaincfg/chainhash, and indirect github.com/btcsuite/btcd/btcutil/psbt.
go.mod still pulls old lnd submodule versions indirectly, including lnd/tlv v1.3.2 and lnd/tor v1.1.6.
- 30 tracked Go files contain old btcd import paths.
- 1 tracked Go file references moved
btcutil address symbols.
Useful references:
Expected work:
- Run/adapt the btcd v2 migration script.
- Regenerate any generated RPC/API code if needed.
- Update direct dependencies to btcd v0.26 and split v2 modules.
- Update downstream Lightning Labs deps once compatible versions exist.
- Fix manual compile issues such as
address package shadowing and changed APIs.
- Run module tidy/build/test checks.
lnd is migrating to btcd v0.26 and the new split v2 modules:
wire/v2,txscript/v2,chaincfg/v2,chainhash/v2,btcutil/v2,psbt/v2,address/v2.Faraday is directly affected and should be updated so it can consume newer lnd and btcsuite module versions without mixing old btcd package paths with the new v2 module types.
Current impact observed on
master:go.modstill requires old btcd modules:github.com/btcsuite/btcd/btcutil,github.com/btcsuite/btcd/chaincfg/chainhash, and indirectgithub.qkg1.top/btcsuite/btcd/btcutil/psbt.go.modstill pulls old lnd submodule versions indirectly, includinglnd/tlv v1.3.2andlnd/tor v1.1.6.btcutiladdress symbols.Useful references:
Expected work:
addresspackage shadowing and changed APIs.