lnd/invoices
Andras Banki-Horvath 043e4aff01
sqldb+invoices: fix ordering bug in FilterInvoices
Previously if the `reverse` named arg was unset (value of NULL), then
SQL would order by NULL instead of ID causing undifined ordering of the
returned rows. To fix that we check for NULL and also make sure to set
the `reverse` arg in the code explicitly as it in the generated code it
is an `interface{}` instead of `bool`.
2024-04-11 15:04:04 +02:00
..
errors.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
interface.go invoices+channeldb: add InvoiceUpdater interface and the KV impl 2024-02-19 20:47:24 +01:00
invoice_expiry_watcher_test.go multi: break invoice depenency on channeldb 2023-01-16 07:31:09 -08:00
invoice_expiry_watcher.go remove repetitive words 2024-03-07 14:05:47 +08:00
invoiceregistry_test.go sqldb+invoices: move SQL invoice store impl to invoices package 2024-04-09 20:46:11 +02:00
invoiceregistry.go multi: make tlv onion compulsory 2024-01-11 09:43:31 -08:00
invoices_test.go sqldb+invoices: move SQL invoice store impl to invoices package 2024-04-09 20:46:11 +02:00
invoices.go invoices: add UpdateType to InvoiceUpdateDesc 2023-03-13 13:11:06 -07: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+invoices: fix ordering bug in FilterInvoices 2024-04-11 15:04:04 +02:00
test_utils_test.go invoices: run InvoiceStore and InvoiceRegistry tests on PostgreSQL too 2024-03-01 10:08:09 +01: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 invoices: allow overpayment in mpps 2023-06-29 17:13:36 -06:00