lnd/kvdb/etcd
Boris Nagaev dee8ad3754
multi: context.Background() -> t.Context()
Use the new feature of Go 1.24, fix linter warnings.

This change was produced by:
 - running golangci-lint run --fix
 - sed 's/context.Background/t.Context/' -i `git grep -l context.Background | grep test.go`
 - manually fixing broken tests
 - itest, lntest: use ht.Context() where ht or hn is available
 - in HarnessNode.Stop() we keep using context.Background(), because it is
   called from a cleanup handler in which t.Context() is canceled already.
2025-08-30 14:13:44 -03:00
..
bucket.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
bucket_test.go etcd: add SequenceKey function 2022-10-13 09:37:52 +02:00
commit_queue.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
commit_queue_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
config.go multi: rename nolint:lll to nolint:ll 2024-12-02 09:14:21 +02:00
db.go Allow multiple etcd hosts to be specified in db.etcd.host. 2024-07-31 15:31:17 +02:00
db_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
debug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
driver_test.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
embed.go kvdb: bump etcd libs to v3.5.12 2025-04-01 12:40:31 +02:00
fixture.go kvdb/etcd: remove context.TODO() from test helpers 2025-05-22 14:14:36 +02:00
nodebug.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_bucket.go etcd: fix typos 2022-10-13 09:37:52 +02:00
readwrite_cursor.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
readwrite_tx.go kvdb+cmd: fix typos 2024-01-03 12:06:32 +08:00
readwrite_tx_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
stm.go kvdb: make etcd calls timeout to ensure liveness 2024-08-01 19:04:10 +02:00
stm_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
walletdb_interface_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00