teamnsrg / ethereum-p2p

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
17 stars 9 forks source link

new dial logic #28

Closed SimonSK closed 6 years ago

SimonSK commented 6 years ago

Geth normally schedules discoverTask and both static and dynamic dialTasks through one function newTasks. To enable more consistent redials, redial (static dial) tasks are now handled separately from other tasks. A few other changes are made to the dial logic as well. Changes: