Nethermind.Libp2p.Protocols.Yamux
1.1.3
See the version list below for details.
dotnet add package Nethermind.Libp2p.Protocols.Yamux --version 1.1.3
NuGet\Install-Package Nethermind.Libp2p.Protocols.Yamux -Version 1.1.3
<PackageReference Include="Nethermind.Libp2p.Protocols.Yamux" Version="1.1.3" />
<PackageVersion Include="Nethermind.Libp2p.Protocols.Yamux" Version="1.1.3" />
<PackageReference Include="Nethermind.Libp2p.Protocols.Yamux" />
paket add Nethermind.Libp2p.Protocols.Yamux --version 1.1.3
#r "nuget: Nethermind.Libp2p.Protocols.Yamux, 1.1.3"
#:package Nethermind.Libp2p.Protocols.Yamux@1.1.3
#addin nuget:?package=Nethermind.Libp2p.Protocols.Yamux&version=1.1.3
#tool nuget:?package=Nethermind.Libp2p.Protocols.Yamux&version=1.1.3
Yamux protocol
See the libp2p spec
By default, a locally closed stream waits for its outbound data to drain or for the connection to close. Applications that need to bound retained stream state can pass a positive closedStreamIdleTimeout of at most 4,294,967,294 milliseconds to YamuxProtocol. After that long without a completed outbound data write, Yamux resets the stream. A peer that intentionally pauses reading longer than the configured timeout can also be reset, so leave it unset when such pauses are expected.
YamuxWindowSettings.InitialWindowSize configures the receive window advertised in SYN/ACK. Send credit always starts at the protocol default of 256 KiB and grows only through peer WindowUpdates, including the delta in a peer's SYN/ACK. The connection admits up to 512 concurrently tracked inbound streams; locally initiated streams do not consume that capacity. This transport cap is separate from application protocol limits and the unacknowledged stream backlog.
A normal GoAway closes admission in both directions while existing streams continue exchanging data, window credit, FIN and RST. New inbound streams receive RST, and new local dial requests fail with ChannelClosedException. The receive loop and transport remain active until disconnection or a fatal error. Nonzero GoAway codes terminate the connection. On transport loss, only a stream that received peer FIN preserves buffered bytes followed by EOF; other streams are aborted because their data may be truncated.
Duplicate SYNs for tracked stream IDs terminate the connection with GoAway(ProtocolError). Payloads discarded for rejected, reset or unknown streams have a ten-second control deadline. An incomplete or failed discard terminates the connection rather than parsing another header at an uncertain boundary.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
- Nethermind.Libp2p.Core (>= 1.1.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Nethermind.Libp2p.Protocols.Yamux:
| Package | Downloads |
|---|---|
|
Nethermind.Libp2p
A libp2p implementation for .NET |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.1 | 119 | 11/22/2026 |
| 1.2.0 | 69,428 | 11/16/2026 |
| 1.1.4 | 143 | 11/15/2026 |
| 1.1.3 | 104 | 11/15/2026 |
| 1.1.2 | 108 | 11/15/2026 |
| 1.1.1 | 1,123 | 11/2/2026 |
| 1.1.0 | 3,659 | 10/20/2026 |
| 1.0.5 | 383 | 10/19/2026 |
| 1.0.4 | 691 | 10/15/2026 |
| 1.0.3 | 3,973 | 10/6/2026 |
| 1.0.2 | 5,393 | 10/3/2026 |
| 1.0.1 | 1,942 | 10/2/2026 |
| 1.0.0 | 284 | 10/1/2026 |
| 1.0.0-preview.51 | 6,692 | 11/11/2025 |
| 1.0.0-preview.50 | 186 | 11/7/2025 |
| 1.0.0-preview.49 | 223 | 11/6/2025 |
| 1.0.0-preview.48 | 208 | 11/6/2025 |
| 1.0.0-preview.45 | 2,091,734 | 5/13/2025 |
| 1.0.0-preview.44 | 1,148 | 5/9/2025 |
| 1.0.0-preview.43 | 197 | 5/9/2025 |