From 6a7ef3c107565502b25f951ab646cecf18e4a37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Oliveira?= Date: Wed, 13 Nov 2024 04:26:36 +0000 Subject: [PATCH] Allow sending IDONTWANTs on publish --- pubsub/gossipsub/gossipsub-v1.2.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pubsub/gossipsub/gossipsub-v1.2.md b/pubsub/gossipsub/gossipsub-v1.2.md index e81ded5fc..3ac265d50 100644 --- a/pubsub/gossipsub/gossipsub-v1.2.md +++ b/pubsub/gossipsub/gossipsub-v1.2.md @@ -56,6 +56,7 @@ This section lists the configuration parameters that needs to agreed on across c When the peer receives the first message instance it immediately broadcasts (not queue for later piggybacking) `IDONTWANT` with the `messageId` to all its mesh peers. This could be performed prior to the message validation to further increase the effectiveness of the approach. +Additionally, on networks where multiple messages share the same messageId, a user may choose to broadcast IDONTWANT when publishing. On the other side a node maintains per-peer `dont_send_message_ids` set. Upon receiving `IDONTWANT` from a peer the `messageId` is added to the `dont_send_message_ids` set.