lnd.xprv/chainntnfs/btcdnotify
Olaoluwa Osuntokun 4b15310c08
chainntfns/btcdnotify: eliminate block epoch race condition, use diff cancel channel
This commit fixes a race condition that was uncovered by the race
condition detector surrounding cancelling active block epoch
notifications. Previously we would close the main notification channel
for each client, at tine this would cause a read/write race condition
if an active grouting was attempting to dispatch a notification. We now
fix this use by using a distinct channel for signaling cancellation to
the active grouting, and another to signal cancellation to any
notification observers.
2017-05-05 15:53:20 -07:00
..
btcd.go chainntfns/btcdnotify: eliminate block epoch race condition, use diff cancel channel 2017-05-05 15:53:20 -07:00
confheap.go chainntnfs/btcdnotify: update BtcdNotifer to recent ChainNotifier API change 2016-12-27 16:43:58 -08:00
driver.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00