lnd/invoices
Olaoluwa Osuntokun a4f8842831
channeldb: optimize updateInvoice for AMP by only reading relevant HTLCs
In this commit, we update the logic in `updateInvoice` to allow callers
to pass in either a hint, or the setID in the update callback. This
makes things more efficient for AMP invoices with thousands of recurring
payments, as we no longer need to read out _all_ the invoices each time
we go to update the state of a few HTLCs.
2021-10-28 15:50:15 -07:00
..
interface.go invoices: expose AMPRecord() method on Payload 2021-03-03 16:26:39 -08:00
invoice_expiry_watcher.go multi: add height-based invoice expiry 2021-05-11 08:45:29 +02:00
invoice_expiry_watcher_test.go invoices/test: add test for hodl invoices 2021-05-11 08:45:30 +02:00
invoiceregistry.go channeldb: optimize updateInvoice for AMP by only reading relevant HTLCs 2021-10-28 15:50:15 -07:00
invoiceregistry_test.go Merge pull request #5206 from carlaKC/4987-heightexpirywatcher 2021-05-12 13:41:52 -07:00
log.go invoices: remove dead code from logger 2020-04-24 19:15:08 +02:00
resolution.go invoices: split resolution result into settle, fail and accept enums 2020-02-06 19:41:39 +02:00
resolution_result.go invoices: fail HTLCs that target the wrong type of invoice 2021-05-10 22:02:14 -07:00
test_utils_test.go multi: refactor SignDigestCompact into SignMessageCompact 2021-10-08 12:06:52 +02:00
update.go invoices: fail HTLCs that target the wrong type of invoice 2021-05-10 22:02:14 -07:00