Commit 77ab72b
multi: upgrade to btcd v2 modules
Migrate all btcd dependencies to the new per-package v2 modules (wire/v2,
txscript/v2, chaincfg/v2, chainhash/v2, btcutil/v2, psbt/v2, btcec/v2)
introduced by btcd v0.26.0, and pin the tagged ecosystem versions:
btcwallet v0.17.0, neutrino v0.18.0 and lightning-onion v1.4.0.
The bulk of the import rewrite was produced by the scripted diff from
btcsuite/btcd#2547 (followed by 'make rpc'). The
address symbols that moved out of btcutil into the new address package
are imported as btcaddr where a local "address" variable would otherwise
shadow them. The go.mod/go.sum updates and the remaining manual
compilation fixes are folded into this single commit so it builds on its
own (the migration was previously split into a reproducible scripted-diff
plus follow-ups, intended to be squashed on merge).1 parent b927e03 commit 77ab72b
605 files changed
Lines changed: 1734 additions & 1790 deletions
File tree
- actor
- autopilot
- blockcache
- bolt12
- chainntnfs
- bitcoindnotify
- btcdnotify
- neutrinonotify
- test
- chainparams
- chainreg
- chanacceptor
- chanbackup
- chanfitness
- channeldb
- migration12
- migration16
- migration20
- migration21
- common
- current
- legacy
- migration24
- migration25
- migration26
- migration27
- migration29
- migration30
- migration32
- migration_01_to_11
- zpay32
- migration/lnwire21
- channelnotifier
- chanstate
- cmd/commands
- contractcourt
- discovery
- funding
- graph
- db
- migration1
- models
- models
- healthcheck
- htlcswitch
- hop
- input
- internal/musig2v040
- invoices
- itest
- keychain
- kvdb
- lnmock
- lnpeer
- lnrpc
- chainrpc
- devrpc
- invoicesrpc
- neutrinorpc
- routerrpc
- signrpc
- walletrpc
- lntest
- channels
- miner
- mock
- node
- rpc
- unittest
- lnwallet
- btcwallet
- chainfee
- chancloser
- chanfunding
- chanvalidate
- rpcwallet
- test
- types
- lnwire
- netann
- payments/db
- migration1
- lnwire
- peer
- protofsm
- queue
- routing
- blindedpath
- chainview
- localchans
- rpcperms
- shachain
- sweep
- tools
- tor
- walletunlocker
- watchtower
- blob
- lookout
- wtclient
- wtdb
- migration8
- wtmock
- wtpolicy
- wtserver
- wtwire
- zpay32
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments