lnd.xprv/contractcourt
Conner Fromknecht 8758671552
contractcourt/chain_arbitrator: fix potential shutdown race
This commit fixes a potential race condition during
shutdown, that could allow the chain arb's
activeWatchers or activeChannels map to be modified
while ranging over their contents. We fix this by
copying the contents into new maps with the mutex
held, before releasing the mutex and shutting down
each watcher or channel arbitrator.
2018-08-03 16:46:41 -07:00
..
briefcase_test.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
briefcase.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07: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: fix potential shutdown race 2018-08-03 16:46:41 -07:00
chain_watcher_test.go contractcourt: update chain watcher to make funding pkScript for spend ntfn 2018-07-31 21:29:00 -07:00
chain_watcher.go contractcourt: update chain watcher to make funding pkScript for spend ntfn 2018-07-31 21:29:00 -07:00
channel_arbitrator_test.go contractcourt: update channel arbitrator unit tests due to recent API changes 2018-07-31 21:29:01 -07:00
channel_arbitrator.go contractcourt: update channel arbitrator unit tests due to recent API changes 2018-07-31 21:29:01 -07:00
contract_resolvers_test.go contractcourt: add complete ContractResolver implementations 2018-01-22 19:19:36 -08:00
contract_resolvers.go contractcourt: update contract resolvers to use pkScripts for spend ntfns 2018-07-31 21:29:01 -07:00
log.go contractcourt: create new package, add logger 2018-01-22 19:19:34 -08:00