You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: protocols/gossipsub/CHANGELOG.md
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,12 @@
1
1
## 0.50.0
2
+
- Simplify gossipsub control message validation by scanning protobuf bytes before decoding
3
+
to validate cumulative control message size, rather than decoding then counting individual IDs
4
+
to prevent memory amplification from decoding.
5
+
Introduce `max_control_message_size` (default 16KB) to limit total control bytes in an RPC.
6
+
Rename `max_ihave_messages` to `max_ihave_messages_heartbeat`.
7
+
Rename `max_control_messages` to `max_control_messages_sent`.
8
+
See [PR #6486](https://github.com/libp2p/rust-libp2p/pull/6486)
9
+
2
10
- Send all topic subscriptions in a single hello RPC when connecting to a new peer, aligning with the GossipSub spec and other implementations (Go, Nim, JS).
3
11
See [PR 6385](https://github.com/libp2p/rust-libp2p/pull/6385).
4
12
@@ -11,12 +19,6 @@
11
19
- Optimize IDONTWANT sending by avoiding broadcasts for already-seen messages and deduplicating recipient peers.
12
20
See [PR 6356](https://github.com/libp2p/rust-libp2p/pull/6356)
13
21
14
-
- Unify gossipsub control-message limits under max_control_messages (replacing per-type control ID caps),
15
-
and truncate control vectors immediately after RPC decode.
16
-
rename `max_ihave_messages` to `max_ihave_messages_heartbeat`.
17
-
Introduce `max_ids_per_control_message` to limit the number of message IDs per control message.
18
-
See [PR 6409](https://github.com/libp2p/rust-libp2p/pull/6409) and [PR 6428](https://github.com/libp2p/rust-libp2p/pull/6428)
19
-
20
22
- Rename metric `topic_msg_sent_bytes` to `topic_msg_last_sent_bytes` for accuracy.
21
23
See [PR 6283](https://github.com/libp2p/rust-libp2p/pull/6283)
0 commit comments