lnd.xprv/invoices
Joost Jager d416ed59ea
multi: add explicit hodl invoice flag to invoice
Previously it wasn't possible to store a preimage in the invoice
database and signal that a payment should not be settled right away. The
only way to hold a payment was to insert the magic UnknownPreimage value
in the invoice database. This commit introduces a distinct flag to
signal that an invoice is a hold invoice and thereby allows the preimage
to be present in the database already.

Preparation for (key send) hodl invoices for which we already know the
preimage.
2020-06-02 07:34:23 +02:00
..
interface.go record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
invoice_expiry_watcher_test.go invoices: elminitate sleep from expiry watcher tests 2020-04-09 09:58:22 +02:00
invoice_expiry_watcher.go invoices: fix log messages 2020-02-03 15:12:55 +01:00
invoiceregistry_test.go Merge pull request #4285 from cfromknecht/pay-addr-index 2020-05-27 17:36:30 -07:00
invoiceregistry.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00
log.go invoices: remove dead code from logger 2020-04-24 19:15:08 +02:00
resolution_result.go htlcswitch: add failure details to incoming failures 2020-02-06 19:43:39 +02:00
resolution.go invoices: split resolution result into settle, fail and accept enums 2020-02-06 19:41:39 +02:00
test_utils_test.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00
update.go multi: add explicit hodl invoice flag to invoice 2020-06-02 07:34:23 +02:00