lnd/sqldb
Elle Mouton 7c7a0ae13d
graph/db: fetch policy version in cache paginated query
The ListChannelsWithPoliciesForCachePaginated query was missing the
policy version column, causing extractChannelPolicies to hardcode
lnwire.GossipVersion1 for that row type. Add cp1.version and
cp2.version to the query and use the fetched values instead.
2026-02-20 09:28:13 +02:00
..
sqlc graph/db: fetch policy version in cache paginated query 2026-02-20 09:28:13 +02:00
config.go sqldb: add global lock config options for postgres 2025-11-28 09:22:19 +01:00
go.mod build+docs: bump minimum Go version to 1.25.5 2026-02-10 12:54:10 -08:00
go.sum multi: update mapstructure/v2 2025-10-21 15:22:45 -03:00
interfaces.go multi: add a re-usable TxOptions type 2025-05-28 10:18:10 +02:00
log.go sqldb: update btclog dep 2024-10-26 14:18:00 +02:00
migrations.go sqldb: add new gossip v2 columns to graph tables 2026-02-13 07:21:20 +02:00
migrations_dev.go multi: switch on graph SQL migration 2025-09-04 18:52:00 +02:00
migrations_prod.go sqldb: use the new schema 2025-08-14 11:59:09 +02:00
migrations_test.go sqldb: add new gossip v2 columns to graph tables 2026-02-13 07:21:20 +02:00
no_sqlite.go sqldb: separate migration execution from construction 2025-01-23 09:10:59 +01:00
paginate.go sqldb: use uint32 for config values 2025-08-14 08:03:28 +02:00
paginate_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
postgres.go sqldb: Make sure we do not replace keywords if they have a prefix 2025-09-05 09:52:41 +02:00
postgres_fixture.go sqldb: close test db in cleanup 2026-02-02 18:51:39 +01:00
postgres_test.go sqldb: demonstrate the use of ExecutePagedQuery 2025-07-22 17:16:38 +02:00
SCHEMA_UPDATES.md docs: add schema update doc 2025-08-14 12:00:40 +02:00
schemas.go sqldb: add the sqldb package 2023-07-27 03:31:12 -07:00
sqlerrors.go sqldb: improve serialization error handling 2024-12-12 10:40:37 -08:00
sqlerrors_no_sqlite.go sqldb: exclude sqlite from the JS and unsupported platform builds 2024-03-01 10:08:09 +01:00
sqlite.go sqldb+go.mod: update sqldb test methods 2025-05-22 14:14:42 +02:00
sqlite_test.go sqldb: demonstrate the use of ExecutePagedQuery 2025-07-22 17:16:38 +02:00
sqlutils.go sqldb: add helper for type boolean 2025-09-05 09:53:59 +02:00