lnd/invoices
Andras Banki-Horvath 84598b6dc1
sqldb: ensure schema definitions are fully SQLite compatible
Previously, we applied replacements to our schema definitions
to make them compatible with both SQLite and Postgres backends,
as the files were not fully compatible with either.

With this change, the only replacement required for SQLite has
been moved to the generator script. This adjustment ensures
compatibility by enabling auto-incrementing primary keys that
are treated as 64-bit integers by sqlc.
2025-01-23 09:11:02 +01:00
..
testdata lnd: run invoice migration on startup 2025-01-23 09:11:01 +01:00
errors.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
interface.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
invoice_expiry_watcher.go multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
invoice_expiry_watcher_test.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
invoiceregistry.go invoices: exit early when the subscriber chan is nil 2024-12-20 17:54:05 +08:00
invoiceregistry_test.go multi: pass UpdateAddHtlc message custom records to invoice modifier 2024-09-19 09:21:38 +02:00
invoices.go sqldb+invoices: Optimize invoice fetching when the reference is only a hash 2025-01-23 09:11:01 +01:00
invoices_test.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
kv_sql_migration_test.go invoices: allow migration test to work on kv sqlite channeldb 2025-01-23 09:11:02 +01:00
log.go multi: start updating various loggers to use the new v2 type 2024-10-22 17:03:55 +02:00
mock.go invoices: add invoice htlc interceptor service 2024-09-19 09:21:36 +02:00
modification_interceptor.go multi: update to fn v2 2024-12-04 13:19:00 -07:00
modification_interceptor_test.go invoices: add invoice htlc interceptor service 2024-09-19 09:21:36 +02:00
resolution.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
resolution_result.go trivial typo[skip ci] 2022-07-01 11:21:46 +02:00
setup_test.go invoices: move InvoiceDB tests unrelated to kvdb to invoices package 2024-02-19 20:47:24 +01:00
sql_migration.go sqldb: ensure schema definitions are fully SQLite compatible 2025-01-23 09:11:02 +01:00
sql_migration_test.go invoices: add migration code for a single invoice 2025-01-23 09:11:01 +01:00
sql_store.go invoices+sql: use the stored AmtPaid value instead of recalculating 2025-01-23 09:11:02 +01:00
test_utils.go multi: bump btcd version. 2024-10-03 21:56:21 +02:00
test_utils_test.go multi: bump btcd version. 2024-10-03 21:56:21 +02:00
update.go multi: pass UpdateAddHtlc message custom records to invoice modifier 2024-09-19 09:21:38 +02:00
update_invoice.go multi+refactor: move models package to graph/db 2024-11-28 13:34:33 +02:00
update_invoice_test.go multi: pass UpdateAddHtlc message custom records to invoice modifier 2024-09-19 09:21:38 +02:00