-
Notifications
You must be signed in to change notification settings - Fork 0
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
Autonat v2 transport changes #3
Autonat v2 transport changes #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Two comments but we can also resolvs those in the upstream PR!
misc/server/src/behaviour.rs
Outdated
@@ -1,3 +1,5 @@ | |||
#![allow(deprecated)] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are we deprecating here that can't be fixed in this PR? As a general rule, we should fix warnings in our own code. If we can't then our users won't be able to either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's some relic from the AutoNATv2 changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed that
swarm/src/lib.rs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we avoid these diffs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's just formatting, but sure
@thomaseizinger Can we merge that into the rust-libp2p PR? |
Yes! |
This is the PR for the transport redesign. I hope I gited it correctly.
This is a follow up to #1