nim-libp2p
nim-libp2p copied to clipboard
Staggered message sending with elimination of peers during transmission based on idontwants
- We use semaphores to limit simultaneous transmissions to two
- During message transmission, we check received idontwants to cancel unnecessary transmissions
- we relay to outbound peers first to minimize chances of two peers sending to each other
closes PR1093