Skip to content

[GossipSub] Make sure no duplicates are sent to the same peer #370

@Nashatyrev

Description

@Nashatyrev

Summary

It could potentially be the case when a message was propagated to a peer and we then receive IWANT from the same peer asking for the same message.
We should at least add a unit test for this case

Expected behavior

No duplicates

Actual behavior

Probably duplicate

Relevant log output

No response

Possible Solution

No response

Version

No response

Would you like to work on fixing this bug ?

Maybe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions