lnd/htlcswitch
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
..
hodl
hop record: move CustomRecordSet 2019-12-12 00:12:19 +01:00
circuit.go
circuit_map.go
circuit_test.go
decayedlog.go
decayedlog_test.go
failure.go htlcswitch: report failure source index for forwarding errors 2019-11-12 14:13:29 +01:00
interfaces.go
link.go multi: distinguish between htlc in and out constraints 2019-12-11 00:16:57 +01:00
link_isolated_test.go htlcswitch/test: add test cases that triggers empty commit sig 2019-11-06 09:21:21 +01:00
link_test.go multi: distinguish between htlc in and out constraints 2019-12-11 00:16:57 +01:00
linkfailure.go
log.go
mailbox.go
mailbox_test.go
mock.go invoices: adding InvoiceExpryWatcher to cancel expired invoices 2019-12-13 17:03:08 +01:00
packet.go
payment_result.go
payment_result_test.go
queue.go
queue_test.go
sequencer.go
switch.go multi: Use user provided close address for cooperative closes 2019-12-10 09:13:01 +02:00
switch_test.go
test_utils.go multi: distinguish between htlc in and out constraints 2019-12-11 00:16:57 +01:00