nim-libp2p
nim-libp2p copied to clipboard
Cancel pending IWANT with an IDONTWANT if the message has been received
Spec: https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/gossipsub-v1.2.md#cancelling-iwant
Supporting evidence of the benefit: https://ethresear.ch/t/number-duplicate-messages-in-ethereums-gossipsub-network/19921#arrival-time-of-duplicates-9
Depends on https://github.com/vacp2p/nim-libp2p/issues/1136