NethermindEth / dotnet-libp2p

A libp2p implementation for .NET in C#.
MIT License
64 stars 25 forks source link

Optimize Muxer Selection in Multistream Protocol (#18) #94

Closed rose2221 closed 2 months ago

rose2221 commented 2 months ago

Description:

This PR enhances the multistream protocol by directly using the pre-selected muxer provided during the Noise handshake, as indicated by IPeerContext.SpecificProtocolRequest. This optimization reduces the time spent on protocol negotiation, improving connection establishment efficiency.

Issue Reference: #18