lnd.xprv/contractcourt
Johan T. Halseth 0f077fcb54
contractcourt/chain_watcher: mark fully closed in dispatchCoopClose
This commit makes the dispatchCooperativeClose method mark the channel
fully closed directly, without registering for confirmation
notifications first. We can do this as recent changes to the
contractcourt changed the definition of a closed channel in the database
to have had its closing tx confirmed, and we only dispatch the
cooperative close once the transaction has 1 confirmation.

We also rename the markChanClosed method to notifyChanClosed, to more
clearly indicate that the ChainArbitrator no longer has to mark the
channel fully closed in the database.
2018-05-22 14:26:02 +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 BeginCoopChanClose 2018-05-22 12:06:33 +02:00
chain_watcher_test.go contractcourt: update chain watcher tests to latest API 2018-05-03 21:29:30 -07:00
chain_watcher.go contractcourt/chain_watcher: mark fully closed in dispatchCoopClose 2018-05-22 14:26:02 +02:00
channel_arbitrator_test.go contractcourt test: add TestChannelArbitratorLocalForceDoubleSpend 2018-05-14 14:21:06 +02:00
channel_arbitrator.go contractcourt/channel_arbitrator: remove unused transationTrigger 2018-04-25 09:37:25 +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