lnd/invoices
Andras Banki-Horvath 06d4267a76
sqldb: fix end date filter when querying invoices
Previously, the SQL implementation of the invoice query simply
converted the start and end timestamps to time and used them
in SQL queries to check for inclusivity. However, this logic
failed when the start and end timestamps were equal.

This commit addresses and corrects this issue.
2024-09-03 19:40:47 +02:00
..
errors.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
interface.go multi: extract path ID and total amt from received payment 2024-07-26 09:54:18 +02:00
invoice_expiry_watcher_test.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
invoice_expiry_watcher.go multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
invoiceregistry_test.go sqldb: bump modernc.org/sqlite to 1.29.10 which fixes init data race 2024-07-04 17:32:12 +02:00
invoiceregistry.go multi: update linter, fix new issues 2024-08-20 19:14:44 +02:00
invoices_test.go sqldb+invoices: add migration to fix incorrectly stored invoice expiries 2024-07-09 08:39:57 +02:00
invoices.go multi: add IsBlinded to lnrpc.Invoice for nicer UX 2024-08-08 16:46:01 +02:00
log.go invoices: remove dead code from logger 2020-04-24 19:15:08 +02:00
mock.go invoices: remove the now unused ScanInvoices method 2023-10-18 16:15:58 +02:00
resolution_result.go trivial typo[skip ci] 2022-07-01 11:21:46 +02:00
resolution.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
setup_test.go invoices: move InvoiceDB tests unrelated to kvdb to invoices package 2024-02-19 20:47:24 +01:00
sql_store.go sqldb: fix end date filter when querying invoices 2024-09-03 19:40:47 +02:00
test_utils_test.go multi: extract path ID and total amt from received payment 2024-07-26 09:54:18 +02:00
test_utils.go multi: update linter, fix new issues 2023-06-13 11:58:33 +02:00
update_invoice_test.go invoices: move UpdateInvoice implementation to the invoices package 2024-02-19 20:47:24 +01:00
update_invoice.go invoices: fix linter issues after the move 2024-02-19 20:47:24 +01:00
update.go multi: extract path ID and total amt from received payment 2024-07-26 09:54:18 +02:00