nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Check peers pubsub sub -> graft -> prune -> unsub cycle

Open Menduist opened this issue 3 years ago • 0 comments

Currently, we allow unsubbed peers to graft us, and grafted peers to unsub. That's technically against the spec (should be strictly sub -> graft -> prune -> unsub)

Check the spec for clarity, other implementations to see what they do, and check that this doesn't lead to exploits in our implementation

Menduist avatar Oct 29 '21 08:10 Menduist