mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
913504581d
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. |
||
---|---|---|
.. | ||
btcdnotify | ||
interface_test.go | ||
interface.go | ||
log.go |