Skip to content
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

Merged
merged 112 commits into from
May 14, 2024

Conversation

umgefahren
Copy link
Owner

This is the PR for the transport redesign. I hope I gited it correctly.

This is a follow up to #1

Copy link

@thomaseizinger thomaseizinger left a 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!

@@ -1,3 +1,5 @@
#![allow(deprecated)]

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.

Copy link
Owner Author

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

Copy link
Owner Author

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

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?

Copy link
Owner Author

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

@umgefahren
Copy link
Owner Author

@thomaseizinger Can we merge that into the rust-libp2p PR?

@thomaseizinger
Copy link

@thomaseizinger Can we merge that into the rust-libp2p PR?

Yes!

@umgefahren umgefahren merged commit a38d35f into transport-redesign May 14, 2024
38 of 69 checks passed
@umgefahren umgefahren deleted the autonat-v2-transport-changes branch May 14, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants