lnd.xprv/contractcourt
Johan T. Halseth b2949bd728
contractcourt/channel_arbitrator test: add unit tests
This commit adds MVP unit tests for the following scenarios in the
ChannelArbitrator:
1) A cooperative close is confirmed.
2) A remote force close is confirmed.
3) A local force close is requested and confirmed.
4) A local force close is requested, but a remote force close gets
confirmed.
2018-04-25 09:37:25 +02:00
..
briefcase_test.go build+multi: switch from bolt to bbolt 2018-03-10 19:01:13 -08:00
briefcase.go contractcourt: define StateCommitmentBroadcasted 2018-04-25 09:37:22 +02: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/chain_arbitrator: remove CloseChannel method from ChannelArbitrator config 2018-04-25 09:37:25 +02:00
chain_watcher.go contractcourt/chain_watcher: register for confirmed spend, mark closed when detected 2018-04-25 09:37:24 +02:00
channel_arbitrator_test.go contractcourt/channel_arbitrator test: add unit tests 2018-04-25 09:37:25 +02:00
channel_arbitrator.go contractcourt/channel_arbitrator: remove unused CloseChannel method from config 2018-04-25 09:37:24 +02:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go multi: fix typos in comments 2018-04-17 19:03:27 -07:00
log.go contractcourt: create new package, add logger 2018-01-22 19:19:34 -08:00