Closed Varunram closed 6 years ago
retest this please
The right way to do this would be to have concurrent connections since dropping connections often would end up in lit nodes getting banned by bitcoin nodes.
Closed in favour of #324 which does concurrent connections.
On startup, we only connect to a single node and if it fails, we proceed to dial the next node in
listOfNodes
. Instead, we can batch connections and open parallel connections with all of them and simply drop a peer if it doesn't respond / does something weird.This is also configurable via a command line option
maxConnections
or-m
. Issue: #275