vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
240 stars 52 forks source link

feat: iDontWant is sent only for gossipsub 1.2 or higher #1135

Closed diegomrsantos closed 5 days ago

diegomrsantos commented 6 days ago

closes https://github.com/vacp2p/nim-libp2p/issues/1131

diegomrsantos commented 6 days ago

I think this test will fail when the GossipSubCodec is updated. It's fine to leave it like this and update it later, though.

My implementation is wrong, it should be sent for versions >= 1.2.