lnd.xprv/contractcourt
Olaoluwa Osuntokun 26f6fd7db2
contractcourt: ignore all other dispatch cases in closeObserver when recovered chan
In this commit, we modify the `closeObserver` to fast path the DLP
dispatch case if we detect that the channel has been restored. We do
this as otherwise, we may inadvertently enter one of the other cases
erroneously, causing us to now properly look up their dlp commitment
point.
2019-03-28 17:54:00 -07:00
..
briefcase_test.go cnct: use sweeper in commit resolver 2019-02-01 09:20:45 +01:00
briefcase.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
chain_arbitrator_test.go contractcourt: add new ChainArbitrator struct as central coordinator of package 2018-01-22 19:19:36 -08:00
chain_arbitrator.go Merge pull request #2744 from cfromknecht/disable-before-close 2019-03-21 21:08:23 -07:00
chain_watcher_test.go contractcourt: add new TestChainWatcherDataLossProtect test case 2019-03-13 17:31:21 -07:00
chain_watcher.go contractcourt: ignore all other dispatch cases in closeObserver when recovered chan 2019-03-28 17:54:00 -07:00
channel_arbitrator_test.go contractcourt: simplify htlcTimeoutResolver, unify with HTLC contest logic 2019-03-19 16:50:27 -07:00
channel_arbitrator.go cnct+lnwl+hswc: use lntypes.Preimage for witness beacon 2019-02-19 17:06:00 -08:00
commit_sweep_resolver.go cnct: fix error returning bug 2019-02-26 12:56:21 -03:00
contract_resolvers.go cnct: expose non-incubating htlcs after channel force close 2019-02-01 09:36:47 +01:00
htlc_incoming_contest_resolver.go htlcswitch: hodl invoice 2019-03-15 10:09:17 +01:00
htlc_outgoing_contest_resolver.go contractcourt: extract which timeout HTLC output to watch into new method 2019-03-19 16:50:09 -07:00
htlc_success_resolver.go htlcswitch: hodl invoice 2019-03-15 10:09:17 +01:00
htlc_timeout_resolver_test.go contractcourt: add new set of tests in htlcTimeoutResolver to exercise refactorings 2019-03-19 16:50:28 -07:00
htlc_timeout_resolver.go contractcourt: simplify htlcTimeoutResolver, unify with HTLC contest logic 2019-03-19 16:50:27 -07:00
log.go multi: init subsystem loggers via build pkg 2018-10-05 13:04:45 +09:00