From bbb7db23f239087c40c480e7f8fb61d00f7b20c4 Mon Sep 17 00:00:00 2001 From: oliveredget <188809800+oliveredget@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:00:34 +0800 Subject: [PATCH 1/3] chore: fix typo --- core/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 68b1f99cc2a..ca86c052a6d 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -445,7 +445,7 @@ See [PR 4568]. - New configurable connection limits for established connections and dedicated connection counters. Removed the connection limit dedicated to outgoing pending connection _per peer_. Connection limits are now - represented by `u32` intead of `usize` types. + represented by `u32` instead of `usize` types. [PR 1848](https://github.com/libp2p/rust-libp2p/pull/1848/). - Update `multihash`. From ffeb8412c55edb9e18ffeef3ff04f1460672635b Mon Sep 17 00:00:00 2001 From: oliveredget <188809800+oliveredget@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:00:40 +0800 Subject: [PATCH 2/3] chore: fix typo --- protocols/ping/CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/ping/CHANGELOG.md b/protocols/ping/CHANGELOG.md index d6e71b2c2d0..ac800a1b309 100644 --- a/protocols/ping/CHANGELOG.md +++ b/protocols/ping/CHANGELOG.md @@ -62,10 +62,10 @@ - Update to `libp2p-swarm` `v0.41.0`. -- Replace `Behaviour`'s `NetworkBehaviour` implemention `inject_*` methods with the new `on_*` methods. +- Replace `Behaviour`'s `NetworkBehaviour` implementation `inject_*` methods with the new `on_*` methods. See [PR 3011]. -- Replace `Handler`'s `ConnectionHandler` implemention `inject_*` methods with the new `on_*` methods. +- Replace `Handler`'s `ConnectionHandler` implementation `inject_*` methods with the new `on_*` methods. See [PR 3085]. - Update `rust-version` to reflect the actual MSRV: 1.62.0. See [PR 3090]. @@ -156,7 +156,7 @@ - Update dependencies. - Don't close connection if ping protocol is unsupported by remote. - Previously, a failed protocol negotation for ping caused a force close of the connection. + Previously, a failed protocol negotiation for ping caused a force close of the connection. As a result, all nodes in a network had to support ping. To allow networks where some nodes don't support ping, we now emit `PingFailure::Unsupported` once for every connection on which ping is not supported. From ba0bda3455b6c62a8a52905900917e605f853a46 Mon Sep 17 00:00:00 2001 From: oliveredget <188809800+oliveredget@users.noreply.github.com> Date: Sun, 29 Dec 2024 20:00:44 +0800 Subject: [PATCH 3/3] chore: fix typo --- protocols/request-response/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/request-response/src/lib.rs b/protocols/request-response/src/lib.rs index 39a773d99b4..6bc2e80e2b3 100644 --- a/protocols/request-response/src/lib.rs +++ b/protocols/request-response/src/lib.rs @@ -427,7 +427,7 @@ where /// connection is established. /// /// > **Note**: In order for such a dialing attempt to succeed, - /// > the `RequestResonse` protocol must either be embedded + /// > the `RequestResponse` protocol must either be embedded /// > in another `NetworkBehaviour` that provides peer and /// > address discovery, or known addresses of peers must be /// > managed via [`Behaviour::add_address`] and