f02166e5de
Since it's now possible for gozmq.Conn to block when calling Receive, BitcoindConn hangs upon being stopped because its goroutines are waiting for a message to be delivered. To address this, we modify it to close its ZMQ connections driving the goroutines once it's been stopped. This allows the goroutines to unblock by detecting the EOF error and exiting. |
||
---|---|---|
.. | ||
bitcoind_client.go | ||
bitcoind_conn.go | ||
block_filterer.go | ||
block_filterer_test.go | ||
interface.go | ||
log.go | ||
neutrino.go | ||
queue.go | ||
rpc.go |