lnd.xprv/contractcourt
Olaoluwa Osuntokun 62f951a969
contractcourt: extend the chainWatcher to be able to detect co-op closes
In this commit, we extend the chainWatcher to be able to automatically
detect co-op closes of the channel. With this change, it’s now fully
encompassed so able to detect all types of closes on-chain. We detect a
co-op close due to the sequence number being finalized, as well as
paying to us directly in a regular p2wkh-like output.
2018-01-22 19:19:52 -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: add new SubscribeChannelEvents method to ChainArbitrator 2018-01-22 19:19:49 -08:00
chain_watcher.go contractcourt: extend the chainWatcher to be able to detect co-op closes 2018-01-22 19:19:52 -08:00
channel_arbitrator_test.go contractcourt: add new ChannelArbitrator struct 2018-01-22 19:19:34 -08:00
channel_arbitrator.go contractcourt: when handling a remote force close, use their view of the HTLC's 2018-01-22 19:19:49 -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