vacp2p / nim-libp2p

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

Skip sending IWants based on received IDontWants #1109

Open ufarooqstatus opened 3 weeks ago

ufarooqstatus commented 3 weeks ago

We use IDontWant followed by the actual message transmission to minimize redundant large message transmissions.

We can also skip sending IWant for a msgId if we have already received N number of IDontWants for the same msgId

ufarooqstatus commented 3 weeks ago

https://github.com/vacp2p/nim-libp2p/issues/1101