lnd/kvdb
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
..
etcd multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
postgres multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
sqlbase kvdb: bump pgx/v4/stdlib to pgx/v5/stdlib 2026-05-13 23:14:31 -05:00
sqlite multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
backend.go kvdb/etcd: remove context.TODO() from test helpers 2025-05-22 14:14:36 +02:00
backend_js.go multi: update walletdb package 2025-04-09 18:47:53 +02:00
bolt_compact.go multi: wrap all errors 2024-04-11 15:04:03 +02:00
bolt_fixture.go multi: update walletdb package 2025-04-09 18:47:53 +02:00
bolt_test.go kvdb: use T.TempDir to create temporary test directory 2022-08-24 09:03:04 +08:00
config.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
debug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
etcd_test.go kvdb+docs: remove etcd test fixture cleanup calls 2023-01-24 09:23:50 +02:00
go.mod multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
go.sum multi: upgrade to btcd v2 modules 2026-06-24 10:58:36 -07:00
interface.go kvdb: add make specific error available in kvdb package 2025-04-09 18:47:54 +02:00
kvdb_etcd.go kvdb: unify how the db backend for tests is set 2023-01-23 09:05:11 +02:00
kvdb_no_etcd.go kvdb: unify how the db backend for tests is set 2023-01-23 09:05:11 +02:00
kvdb_no_postgres.go multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
kvdb_no_sqlite.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
kvdb_postgres.go multi: run go fmt with go 1.17 2021-11-08 22:39:41 +01:00
kvdb_sqlite.go kvdb: add sqlite 2023-01-23 09:14:08 +02:00
log.go kvdb: update btclog dep 2024-10-26 14:16:31 +02:00
nodebug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
postgres_test.go kvdb: add ForAll 2022-01-12 19:11:53 +01:00
prefetch_test.go refactor: use maps.Copy for cleaner map handling 2025-03-25 01:19:55 +08:00
readwrite_bucket_test.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
readwrite_cursor_test.go kvdb/test: fix cursor tests to match bbolt semantics 2021-07-12 11:31:09 +02:00
readwrite_tx_test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00
test.go kvdb/test: generalize etcd tests 2021-07-12 11:31:05 +02:00
test_utils.go channeldb/test: test with postgres 2021-10-29 10:54:44 +02:00