lnd/invoices
ziggie c95d73c898
invoices: remove obsolete code for AMP invoices.
We always fetch the HTLCs for the specific setID, so there is no
need to keep this code. In earlier versions we would call the
UpdateInvoice method with `nil` for the setID therefore we had
to lookup the AMPState. However this was error prune because in
case one partial payment times-out the AMPState would change to
cancelled and that could lead to not resolve HTLCs.
2025-01-29 18:21:40 +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: remove obsolete code for AMP invoices. 2025-01-29 18:21:40 +01:00
invoiceregistry_test.go invoices: enhance the unit test suite. 2025-01-29 18:21:40 +01:00
invoices.go invoices: treat replayed HTLCs beforehand. 2025-01-29 09:59:02 +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: enhance the unit test suite. 2025-01-29 18:21:40 +01:00
modification_interceptor.go multi: introduce new traffic shaper method. 2025-01-29 09:59:02 +01: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 multi: introduce new traffic shaper method. 2025-01-29 09:59:02 +01: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 invoices: enhance the unit test suite. 2025-01-29 18:21:40 +01:00
update.go invoices: treat replayed HTLCs beforehand. 2025-01-29 09:59:02 +01: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