6b6beb4d7d
We would establish the connection to the chain backend and start getting block notifications before we had started the concurrent queues, which would lead to the OnBlockConnected call being blocked, and a deadlock (since GetBestBlock would never return). Instead we make sure to start the queues before establishing the connection, consuming the notifications right away. |
||
---|---|---|
.. | ||
btcd_dev.go | ||
btcd_test.go | ||
btcd.go | ||
driver.go |