-
Notifications
You must be signed in to change notification settings - Fork 999
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(multistream-select): Use Version::V1Lazy
by default
#3563
Comments
Documenting an out-of-band discussion with @thomaseizinger. We might as well be able to drop |
Am I correct in my understanding that without this, streams pay a 1 RT penalty right now in rust-libp2p, and thus not cheap? cc @mxinden |
At the moment, users need to configure that they want the 0RTT behaviour. Removing this configuration option and simply always doing it is what this issue is about. |
I've tagged #4120 as closing this one because the config option will no longer be available to users through this builder. |
Removes multistream-select version selection. Instead the mechanism of `Version::V1Lazy` is always used. See also libp2p#3563 and libp2p#3749.
Description
Current default is
Version::V1
. There is no practical downside to usingVersion::V1Lazy
. We should use it as a default.See #3749 for a previous attempt with some useful information on how to proceed.
Motivation
0 RTT protocol negotiation when only one protocol is available.
Current Implementation
Are you planning to do it yourself in a pull request?
Maybe
The text was updated successfully, but these errors were encountered: