loop/loopdb
Boris Nagaev 5d8a5019cf
lint: enable deprecation checks
Enable staticcheck's SA1019 check in golangci-lint so deprecated
identifiers are caught in CI.

Replace deprecated standard library and bbolt APIs with their current
equivalents. Keep intentional compatibility reads and writes of
deprecated Loop RPC fields behind narrow nolint annotations, because
older clients and persisted liquidity parameters still depend on those
fields.
2026-06-22 12:46:12 -05:00
..
sqlc loopdb: staticaddr fast flag migration and queries 2025-10-07 08:53:36 +02:00
codec.go loopdb: add the local pubkey's keylocator to the persisted contract 2022-06-30 16:59:57 +02:00
codec_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
interface.go loopdb: add asset params to store 2025-01-21 18:26:20 +01:00
log.go multi: update lnd compile-time dependency to v0.19.0 2025-03-10 22:59:49 +01:00
loop.go loopdb: refactor the SwapContract to hold all HTLC keys 2023-03-20 20:08:43 +01:00
loopin.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
loopout.go loopout: add asset loop out payment flow 2025-01-21 18:26:19 +01:00
meta.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
migrate.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
migrate_test.go loopdb: add migrator 2023-06-20 18:59:31 +02:00
migration_01_costs.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_02_swap_publication_deadline.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_03_last_hop.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_04_updates.go loopdb: switch to go.etcd.io/bbolt 2025-03-19 15:00:30 +01:00
migration_04_updates_test.go lint: enable deprecation checks 2026-06-22 12:46:12 -05:00
migrations.go multi: update linter, fix issues 2023-10-03 19:36:40 +02:00
postgres.go loopdb: clean up comments 2026-05-27 11:50:30 +02:00
postgres_fixture.go loopdb: add postgres store 2023-06-20 18:59:30 +02:00
protocol_version.go loopdb: clean up comments 2026-05-27 11:50:30 +02:00
protocol_version_test.go linter: fix lint issues after linter v2 update 2025-08-19 21:57:00 +02:00
raw_db_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
schemas.go loopdb: create base sqlite store 2023-06-20 17:31:40 +02:00
sql_store.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
sql_test.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
sqlerrors.go chore: fix some function names 2024-08-12 22:59:32 +08:00
sqlite.go linter: fix lint issues after linter v2 update 2025-08-19 21:57:00 +02:00
store.go lint: enable deprecation checks 2026-06-22 12:46:12 -05:00
store_mock.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
store_test.go lint: enable deprecation checks 2026-06-22 12:46:12 -05:00
swapstate.go godoc: address copy-paste errors accross the codebase 2026-03-09 14:39:44 +01:00
test_postgres.go loopdb: fix faulty timestamps on startup 2023-08-07 21:04:30 +02:00
test_sqlite.go lint: fix linter issues 2026-03-09 14:39:45 +01:00
typed_store.go multi: typed callback in ExecTx 2024-06-19 10:38:55 -03:00