lnd/invoices
Andras Banki-Horvath 44f13d1d60 invoices: adding InvoiceExpryWatcher to cancel expired invoices
This commit adds InvoiceExpryWatcher which is a separate class that
receives new invoices (and existing ones upon restart) from InvoiceRegistry
and actively watches their expiry. When an invoice is expired
InvoiceExpiryWatcher will call into InvoiceRegistry to cancel the
invoice and by that notify all subscribers about the state change.
2019-12-13 17:03:08 +01:00
..
interface.go record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
invoice_expiry_watcher_test.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
invoice_expiry_watcher.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
invoiceregistry_test.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
invoiceregistry.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
log.go invoices: create package 2019-01-07 23:04:05 +01:00
test_utils_test.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
update.go record: move CustomRecordSet 2019-12-12 00:12:19 +01:00