Limit initial SeedNode connections when entering the network #648
Labels
development
Standard development
r&d:polykey:core activity 4
End to End Networking behind Consumer NAT Devices
Specification
Currently there is a pretty dumb method of limiting the initial connections. We take the list of all seed nodes, sort them by distance and select the closest 3 nodes. This will limit the number of initial connections to seed nodes, but will cause problems if the 3 seed nodes selected happen to be down.
We need to use a smarter method here. Something that takes into account any failed connections. Such as concurrently attempt 3 connections until N connections are made and then proceed with the network entry.
Additional context
Tasks
The text was updated successfully, but these errors were encountered: