Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
This updates the dht, pubsub, and libp2p.
  • Loading branch information
Stebalien committed Jul 28, 2021
1 parent bfa03bd commit 193eab6
Show file tree
Hide file tree
Showing 3 changed files with 218 additions and 101 deletions.
2 changes: 1 addition & 1 deletion dht.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func (d *Daemon) doDHTGetClosestPeers(req *pb.DHTRequest) (*pb.Response, <-chan
go func() {
defer cancel()
defer close(rch)
for p := range ch {
for _, p := range ch {
select {
case rch <- dhtResponsePeerID(p):
case <-ctx.Done():
Expand Down
23 changes: 9 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,21 @@ module github.com/libp2p/go-libp2p-daemon
go 1.15

require (
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
github.com/gogo/protobuf v1.3.2
github.com/hashicorp/go-multierror v1.1.0
github.com/hashicorp/go-multierror v1.1.1
github.com/ipfs/go-cid v0.0.7
github.com/ipfs/go-log v1.0.5
github.com/libp2p/go-libp2p v0.13.0
github.com/libp2p/go-libp2p v0.14.4
github.com/libp2p/go-libp2p-circuit v0.4.0
github.com/libp2p/go-libp2p-connmgr v0.2.4
github.com/libp2p/go-libp2p-core v0.8.0
github.com/libp2p/go-libp2p-kad-dht v0.11.1
github.com/libp2p/go-libp2p-noise v0.1.3
github.com/libp2p/go-libp2p-pubsub v0.4.1
github.com/libp2p/go-libp2p-quic-transport v0.10.0
github.com/libp2p/go-libp2p-core v0.8.6
github.com/libp2p/go-libp2p-kad-dht v0.13.0
github.com/libp2p/go-libp2p-noise v0.2.2
github.com/libp2p/go-libp2p-pubsub v0.5.3
github.com/libp2p/go-libp2p-quic-transport v0.11.2
github.com/libp2p/go-libp2p-tls v0.1.3
github.com/libp2p/go-sockaddr v0.1.1 // indirect
github.com/multiformats/go-multiaddr v0.3.1
github.com/multiformats/go-multiaddr v0.3.3
github.com/multiformats/go-multihash v0.0.15
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/common v0.13.0 // indirect
github.com/prometheus/client_golang v1.11.0
github.com/stretchr/testify v1.7.0
google.golang.org/protobuf v1.25.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
)
Loading

0 comments on commit 193eab6

Please sign in to comment.