holepunchto / hyperswarm

A distributed networking stack for connecting peers.
https://docs.holepunch.to
MIT License
1.06k stars 85 forks source link

deprioritise peers from the same ip #34

Closed mafintosh closed 4 years ago

mafintosh commented 5 years ago

this one might be tricky and is not worth a lot of complexity but here goes:

if multiple peers are discovered we should deprioritise subsequent peers from the same ip. ie if 10 peers with ip A is discovered and 1 with ip B, then it should try B after trying one of the A peers

mafintosh commented 4 years ago

We did this