From eb8d72d95ff1168764fe6aed24a38aa0f2406e7a Mon Sep 17 00:00:00 2001 From: ygd58 Date: Mon, 7 Sep 2026 08:53:00 +0200 Subject: [PATCH 1/2] fix: correct mismatched section description in mump2p protocol docs The 'When Publishing' section opened with 'When a node receives a shard:' - but the steps that follow (message prep, encoding, shard distribution) describe originating a new message, not receiving one. The next section already covers the receive-side flow correctly. --- docs/learn/overview/p2p.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/learn/overview/p2p.md b/docs/learn/overview/p2p.md index 4a140c7..f5e0670 100644 --- a/docs/learn/overview/p2p.md +++ b/docs/learn/overview/p2p.md @@ -39,7 +39,7 @@ RLNC enables performance gains by dividing messages into linearly coded shards. ### When Publishing -When a node receives a shard: +When a node publishes a new message: 1. **Message Preparation**: Add length prefix and pad if necessary. 2. **Encoding**: From d1041023f09d340e3a67b6c94ef6dda1a4437d7d Mon Sep 17 00:00:00 2001 From: ygd58 Date: Mon, 7 Sep 2026 09:10:42 +0200 Subject: [PATCH 2/2] fix: align Control Messages table columns (markdownlint MD060) 'markdownlint **/*.md --config .markdownlint.json' (the same config make lint-markdown runs in CI) flags the table: the GRAFT/PRUNE row is wider than the others so its pipe separators don't line up with the header - MD060/table-column-style. Realigned all columns to the widest cell. Pre-existing since the table was added (Har Preet Singh, commit 8998162) - not introduced by the previous commit in this branch. --- docs/learn/overview/p2p.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/learn/overview/p2p.md b/docs/learn/overview/p2p.md index f5e0670..400a992 100644 --- a/docs/learn/overview/p2p.md +++ b/docs/learn/overview/p2p.md @@ -62,11 +62,11 @@ When a node publishes a new message: mump2p uses and extends [GossipSub's](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.0.md#control-messages) control messages for optimized mesh performance: -| Message | Purpose | -|-------------|-------------------------------------------------------------------------| -| `IDONTWANT` | Informs peers not to send more shards for a decoded message | -| `IHAVE` | Advertises that a node holds coded shards for a message | -| `IWANT` | Requests additional shards for an undecoded message | +| Message | Purpose | +|-----------------|------------------------------------------------------------------| +| `IDONTWANT` | Informs peers not to send more shards for a decoded message | +| `IHAVE` | Advertises that a node holds coded shards for a message | +| `IWANT` | Requests additional shards for an undecoded message | | `GRAFT`/`PRUNE` | Maintains optimal mesh size by adding/removing peers dynamically | ## Configuration Parameters