-
Notifications
You must be signed in to change notification settings - Fork 984
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
feat(noise): deprecate all handshake patterns apart from XX #3768
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
`pub type` aliases don't export the enum contructors unfortunately.
This comment was marked as resolved.
This comment was marked as resolved.
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.
Thanks for the additional simplifications via Config
!
Thanks for catching the missing version bumps. I am looking forward to #3715 when this no longer requires a manual check. I did not bump the versions of the dependent crates. I figured, just bump dependencies is not worth it. Do you agree? |
This comment was marked as resolved.
This comment was marked as resolved.
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.
Only outstanding comment would be https://github.com/libp2p/rust-libp2p/pull/3768/#discussion_r1177358842
. Otherwise this looks good to me.
This comment was marked as resolved.
This comment was marked as resolved.
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.
🙏
Description
In the libp2p specs, the only handshake pattern that is specified is the XX handshake. Support for other handshake patterns can be added through external modules. While we are at it, we rename the remaining types to following the laid out naming convention.
The tests for handshakes other than XX are removed. The handshakes still work as we don't touch them in this patch.
Related #2217.
Notes & open questions
Change checklist