lnd.xprv/invoices
Joost Jager 915867e90f
invoiceregistry: promote update closure to method
This commit moves the update code into its own function as a preparation
for extending the logic further for mpp.

In order to make this change cleanly, structured result codes are
introduced. This also prepares for a future htlc notifier rpc hook that
reports htlc settle decisions to external applications.

Furthermore the awkward use of errNoUpdate as a way to signal no update
is removed.
2019-12-04 14:51:36 +01:00
..
interface.go multi: replace NotifyExitHopHtlc eob param with hop.Payload 2019-11-04 15:10:32 -08:00
invoiceregistry_test.go invoices/test: add test context 2019-12-04 14:51:32 +01:00
invoiceregistry.go invoiceregistry: promote update closure to method 2019-12-04 14:51:36 +01:00
log.go invoices: create package 2019-01-07 23:04:05 +01:00
utils_test.go htlcswitch: hodl invoice 2019-03-15 10:09:17 +01:00