lnd.xprv/contractcourt
Olaoluwa Osuntokun 63f7bf4e65
contractcourt: integrate notifications of the chainWatcher with each channel arb
In this commit, we modify the construction of the channel arbitrator to
accept a pointer to an event stream from the chain watcher that’s been
assigned to that channel. As a result, we no longer need a fresh
unilateral close signal, as the one we get from the chain watcher will
*always* be up to date.

For each active channel, we’ll now create a chainWatcher instance that
will be around until the channel is fully closed on chain.
2018-01-22 19:19:48 -08:00
..
briefcase_test.go contractcourt: add new briefcase.go file to house persistent arbitrator state 2018-01-22 19:19:35 -08:00
briefcase.go contractcourt: add new briefcase.go file to house persistent arbitrator state 2018-01-22 19:19:35 -08: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 contractcourt: integrate notifications of the chainWatcher with each channel arb 2018-01-22 19:19:48 -08:00
chain_watcher.go contractcourt: add new chainWatcher struct 2018-01-22 19:19:48 -08:00
channel_arbitrator_test.go contractcourt: add new ChannelArbitrator struct 2018-01-22 19:19:34 -08:00
channel_arbitrator.go contractcourt: integrate notifications of the chainWatcher with each channel arb 2018-01-22 19:19:48 -08:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
log.go contractcourt: create new package, add logger 2018-01-22 19:19:34 -08:00