lnd.xprv/contractcourt
carla d2e395d5f2
multi: replace errInvoiceNotFound with resolution result
This commit moves handling of invoice not found
errors into NotifyExitHopHtlc and exposes a
resolution result to the calling functions. The
intention of this change is to make calling
functions as naive of the invoice registry's
mechanics as possible.

When NotifyExitHopHtlc is called and an invoice
is not found, calling functions can take action
based on the HtlcResolution's InvoiceNotFound
outcome rather than having to add a special error
check on every call to handle the error.
2019-12-20 13:01:15 +02:00
..
briefcase_test.go cnct: store full htlc struct inside resolver 2019-11-12 15:01:36 +01:00
briefcase.go cnct: add new from reader resolver initializers 2019-11-11 14:35:28 +01:00
chain_arbitrator_test.go contractcourt: generalize rebroadcast for force and coop 2019-12-04 14:25:28 -08:00
chain_arbitrator.go contractcourt: generalize rebroadcast for force and coop 2019-12-04 14:25:28 -08:00
chain_watcher_test.go cnct/test: add unit test for commit sweep resolver 2019-11-14 13:38:06 +01:00
chain_watcher.go lnwallet+contractcourt: publicly export DeriveCommitmentKeys use in chain watcher 2019-09-25 18:26:13 -07:00
channel_arbitrator_test.go utxonursery: remove unused commit sweep code 2019-11-14 13:38:03 +01:00
channel_arbitrator.go cnct: remove nursery dependency in commit sweep resolver 2019-11-14 13:38:01 +01:00
commit_sweep_resolver_test.go sweep: create sweep parameters struct 2019-12-13 12:02:42 +01:00
commit_sweep_resolver.go sweep: create sweep parameters struct 2019-12-13 12:02:42 +01:00
contract_resolvers.go cnct: prefix logger for commit sweep resolver 2019-11-13 10:17:24 +01:00
htlc_incoming_contest_resolver.go multi: replace errInvoiceNotFound with resolution result 2019-12-20 13:01:15 +02:00
htlc_incoming_resolver_test.go multi: replace errInvoiceNotFound with resolution result 2019-12-20 13:01:15 +02:00
htlc_outgoing_contest_resolver_test.go cnct: parse onion for resolvers 2019-11-12 15:01:39 +01:00
htlc_outgoing_contest_resolver.go cnct: add resolver report output type 2019-11-13 10:17:28 +01:00
htlc_success_resolver.go utxonursery: remove unused commit sweep code 2019-11-14 13:38:03 +01:00
htlc_timeout_resolver_test.go utxonursery: remove unused commit sweep code 2019-11-14 13:38:03 +01:00
htlc_timeout_resolver.go utxonursery: remove unused commit sweep code 2019-11-14 13:38:03 +01:00
interfaces.go mutli: rename HodlEvent to HtlcResolution 2019-12-20 12:58:07 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
mock_registry_test.go contractcourt: rename mock notifyEvent to notifyResolution 2019-12-20 12:59:14 +02:00
utils_test.go cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00