lnd/chainntnfs
Olaoluwa Osuntokun 913504581d
chainntfns: eliminate dead lock possibility when dispatching notifications
This commit fixes a possible dead lock when dispatching notifications
caused by the circular communication between the notificationDisptcher
thread and the main notification thread within the btcrpcclient.

Rather than potentially blocking for eternity on a blocking send,
notifications are now instantly handled by appending the notification
on an unbounded queue then launching a goroutine to signal the
dispatcher thread that a new item is available within the queue.
2016-09-22 19:12:22 -07:00
..
btcdnotify chainntfns: eliminate dead lock possibility when dispatching notifications 2016-09-22 19:12:22 -07:00
interface_test.go chainntnfs: remove unnecessary print statement in tests 2016-09-13 15:33:32 -07:00
interface.go chainntfns: implement RegisterBlockEpochNtfn for BtcdNotifier, add tests 2016-09-12 19:07:08 -07:00
log.go chainntnfs: add cross interface implementation tests 2016-09-01 19:13:10 -07:00