lnd.xprv/contractcourt
carla 2569b4d08a
multi: replace htlcResolution with an interface
This commit repalces the htlcResolution struct with an interface.
This interface is implemeted by failure, settle and accept resolution
structs. Only settles and fails are exported because the existing
code that handles htlc resolutions uses a nil resolution to indicate
that a htlc was accepted. The accept resolution is used internally
to report on the resolution result of the accepted htlc, but a nil
resolution is surfaced. Further refactoring of all the functions
that call NotifyExitHopHtlc to handle a htlc accept case (rather than
having a nil check) is required.
2020-02-06 19:41:36 +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: use channel type to derive remote script 2020-01-06 12:08:19 +01: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 htlcResolution with an interface 2020-02-06 19:41:36 +02:00
htlc_incoming_resolver_test.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +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 multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00
mock_registry_test.go multi: replace htlcResolution with an interface 2020-02-06 19:41:36 +02:00
utils_test.go cnct/test: add incoming contest resolver test 2019-05-15 14:42:18 +02:00