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.
26 lines
1.2 KiB
Modula-2
26 lines
1.2 KiB
Modula-2
module github.com/btcsuite/btcwallet
|
|
|
|
require (
|
|
github.com/btcsuite/btcd v0.0.0-20190523000118-16327141da8c
|
|
github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f
|
|
github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d
|
|
github.com/btcsuite/golangcrypto v0.0.0-20150304025918-53f62d9b43e8
|
|
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792
|
|
github.com/coreos/bbolt v1.3.2
|
|
github.com/davecgh/go-spew v1.1.1
|
|
github.com/golang/protobuf v1.2.0
|
|
github.com/jessevdk/go-flags v1.4.0
|
|
github.com/jrick/logrotate v1.0.0
|
|
github.com/kkdai/bstream v0.0.0-20181106074824-b3251f7901ec // indirect
|
|
github.com/kr/pretty v0.1.0 // indirect
|
|
github.com/lightninglabs/gozmq v0.0.0-20190710231225-cea2a031735d
|
|
github.com/lightninglabs/neutrino v0.0.0-20190313035638-e1ad4c33fb18
|
|
go.etcd.io/bbolt v1.3.3 // indirect
|
|
golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67
|
|
golang.org/x/net v0.0.0-20190206173232-65e2d4e15006
|
|
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect
|
|
golang.org/x/sys v0.0.0-20190209173611-3b5209105503 // indirect
|
|
google.golang.org/grpc v1.18.0
|
|
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
|
|
gopkg.in/yaml.v2 v2.2.2 // indirect
|
|
)
|