lnd/graph/db/migration1
Oli 8047149c6a
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
https://github.com/btcsuite/btcd/pull/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).
2026-06-24 10:58:36 -07:00
..
models multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
sqlc graph/db: freeze sql migration queries 2025-11-12 22:54:06 +08:00
addr.go multi: freeze graph SQL migration logic 2025-11-12 22:54:05 +08:00
codec.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
errors.go multi: freeze graph SQL migration logic 2025-11-12 22:54:05 +08:00
interfaces.go multi: freeze graph SQL migration logic 2025-11-12 22:54:05 +08:00
kv_store.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
log.go multi: freeze graph SQL migration logic 2025-11-12 22:54:05 +08:00
sql_migration.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
sql_migration_test.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
sql_store.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
test_kvdb.go multi: freeze graph SQL migration logic 2025-11-12 22:54:05 +08:00
test_postgres.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
test_sql.go graph/db/migration1: fix defer commit/rollback in test tx executor 2026-02-25 18:52:34 +01:00
test_sqlite.go multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00