-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update deps, fixing nil peer scope pointer issues in connection upgrading #1309
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vyzo
force-pushed
the
fix/upgrader-nil-scope
branch
from
February 3, 2022 17:12
e4ec3b0
to
09de5ab
Compare
Suggested version: Changes in diff --git a/go.mod b/go.mod
index 9b662e95..aa2e9454 100644
--- a/go.mod
+++ b/go.mod
@@ -3,57 +3,56 @@ module github.com/libp2p/go-libp2p
go 1.16
require (
+ github.com/benbjohnson/clock v1.1.0
github.com/btcsuite/btcd v0.22.0-beta // indirect
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
github.com/gogo/protobuf v1.3.2
github.com/golang/mock v1.6.0
github.com/google/uuid v1.3.0 // indirect
+ github.com/hashicorp/golang-lru v0.5.4
github.com/huin/goupnp v1.0.2 // indirect
github.com/ipfs/go-cid v0.0.7
github.com/ipfs/go-datastore v0.5.0
github.com/ipfs/go-ipfs-util v0.0.2
- github.com/ipfs/go-log/v2 v2.4.0
- github.com/jbenet/goprocess v0.1.4
+ github.com/ipfs/go-log/v2 v2.5.0
github.com/klauspost/cpuid/v2 v2.0.9 // indirect
github.com/koron/go-ssdp v0.0.2 // indirect
- github.com/libp2p/go-addr-util v0.1.0
github.com/libp2p/go-buffer-pool v0.0.2
github.com/libp2p/go-conn-security-multistream v0.3.0
github.com/libp2p/go-eventbus v0.2.1
github.com/libp2p/go-libp2p-asn-util v0.1.0
- github.com/libp2p/go-libp2p-autonat v0.7.0
github.com/libp2p/go-libp2p-blankhost v0.3.0
- github.com/libp2p/go-libp2p-circuit v0.4.0
- github.com/libp2p/go-libp2p-core v0.13.0
- github.com/libp2p/go-libp2p-discovery v0.6.0
- github.com/libp2p/go-libp2p-mplex v0.4.1
+ github.com/libp2p/go-libp2p-circuit v0.6.0
+ github.com/libp2p/go-libp2p-core v0.14.0
+ github.com/libp2p/go-libp2p-mplex v0.5.0
github.com/libp2p/go-libp2p-nat v0.1.0
- github.com/libp2p/go-libp2p-netutil v0.1.0
github.com/libp2p/go-libp2p-noise v0.3.0
github.com/libp2p/go-libp2p-peerstore v0.6.0
- github.com/libp2p/go-libp2p-quic-transport v0.15.2
- github.com/libp2p/go-libp2p-swarm v0.9.0
- github.com/libp2p/go-libp2p-testing v0.6.0
+ github.com/libp2p/go-libp2p-quic-transport v0.16.0
+ github.com/libp2p/go-libp2p-resource-manager v0.1.3
+ github.com/libp2p/go-libp2p-swarm v0.10.1
+ github.com/libp2p/go-libp2p-testing v0.7.0
github.com/libp2p/go-libp2p-tls v0.3.1
- github.com/libp2p/go-libp2p-transport-upgrader v0.6.0
- github.com/libp2p/go-libp2p-yamux v0.7.0
+ github.com/libp2p/go-libp2p-transport-upgrader v0.7.1
+ github.com/libp2p/go-libp2p-yamux v0.8.1
github.com/libp2p/go-msgio v0.1.0
- github.com/libp2p/go-netroute v0.1.6
- github.com/libp2p/go-stream-muxer-multistream v0.3.0
- github.com/libp2p/go-tcp-transport v0.4.0
- github.com/libp2p/go-ws-transport v0.5.0
+ github.com/libp2p/go-netroute v0.2.0
+ github.com/libp2p/go-stream-muxer-multistream v0.4.0
+ github.com/libp2p/go-tcp-transport v0.5.0
+ github.com/libp2p/go-ws-transport v0.6.0
github.com/libp2p/zeroconf/v2 v2.1.1
- github.com/multiformats/go-multiaddr v0.4.0
+ github.com/multiformats/go-multiaddr v0.5.0
github.com/multiformats/go-multiaddr-dns v0.3.1
+ github.com/multiformats/go-multihash v0.0.15
github.com/multiformats/go-multistream v0.2.2
github.com/multiformats/go-varint v0.0.6
github.com/prometheus/common v0.30.0 // indirect
github.com/prometheus/procfs v0.7.3 // indirect
+ github.com/raulk/go-watchdog v1.2.0
github.com/stretchr/testify v1.7.0
github.com/whyrusleeping/mdns v0.0.0-20190826153040-b9b60ed33aa9
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.7.0 // indirect
- go.uber.org/zap v1.19.0 // indirect
golang.org/x/crypto v0.0.0-20210813211128-0a44fdfbc16e // indirect
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83cdiff --git a/examples/go.mod b/examples/go.mod
index a721b62b..1ec311f3 100644
--- a/examples/go.mod
+++ b/examples/go.mod
@@ -6,8 +6,8 @@ require (
github.com/gogo/protobuf v1.3.2
github.com/google/uuid v1.3.0
github.com/ipfs/go-datastore v0.5.0
- github.com/ipfs/go-log/v2 v2.4.0
- github.com/libp2p/go-libp2p v0.14.4
+ github.com/ipfs/go-log/v2 v2.5.0
+ github.com/libp2p/go-libp2p v0.17.0
github.com/libp2p/go-libp2p-connmgr v0.2.4
github.com/libp2p/go-libp2p-core v0.13.0
github.com/libp2p/go-libp2p-discovery v0.6.0
@@ -15,8 +15,5 @@ require (
github.com/libp2p/go-libp2p-noise v0.3.0
github.com/libp2p/go-libp2p-swarm v0.9.0
github.com/libp2p/go-libp2p-tls v0.3.1
- github.com/multiformats/go-multiaddr v0.4.0
+ github.com/multiformats/go-multiaddr v0.5.0
)
-
-// Ensure that examples always use the go-libp2p version in the same git checkout.
-replace github.com/libp2p/go-libp2p => ../
diff --git a/examples/ipfs-camp-2019/go.mod b/examples/ipfs-camp-2019/go.mod
index 32daa115..e13f466c 100644
--- a/examples/ipfs-camp-2019/go.mod
+++ b/examples/ipfs-camp-2019/go.mod
@@ -4,7 +4,7 @@ go 1.16
require (
github.com/gogo/protobuf v1.3.2
- github.com/libp2p/go-libp2p v0.14.4
+ github.com/libp2p/go-libp2p v0.17.0
github.com/libp2p/go-libp2p-core v0.13.0
github.com/libp2p/go-libp2p-discovery v0.6.0
github.com/libp2p/go-libp2p-kad-dht v0.15.0
@@ -14,8 +14,5 @@ require (
github.com/libp2p/go-libp2p-yamux v0.7.0
github.com/libp2p/go-tcp-transport v0.4.0
github.com/libp2p/go-ws-transport v0.5.0
- github.com/multiformats/go-multiaddr v0.4.0
+ github.com/multiformats/go-multiaddr v0.5.0
)
-
-// Ensure that examples always use the go-libp2p version in the same git checkout.
-replace github.com/libp2p/go-libp2p => ../..
diff --git a/examples/pubsub/chat/go.mod b/examples/pubsub/chat/go.mod
index 9a14dd59..a4358d43 100644
--- a/examples/pubsub/chat/go.mod
+++ b/examples/pubsub/chat/go.mod
@@ -4,11 +4,8 @@ go 1.16
require (
github.com/gdamore/tcell/v2 v2.1.0
- github.com/libp2p/go-libp2p v0.14.1
+ github.com/libp2p/go-libp2p v0.17.0
github.com/libp2p/go-libp2p-core v0.13.0
github.com/libp2p/go-libp2p-pubsub v0.6.0
github.com/rivo/tview v0.0.0-20210125085121-dbc1f32bb1d0
)
-
-// Ensure that examples always use the go-libp2p version in the same git checkout.
-replace github.com/libp2p/go-libp2p => ../../..
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dependencies: