diff options
author | Felix Lange <fjl@twurst.com> | 2015-04-03 09:56:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-10 19:26:27 +0800 |
commit | 22d1f0faf1fcb20063b719f8fc70534e268485b6 (patch) | |
tree | 3f5afeb2c9124804a116e73a8d687d5ffa78b0f5 /p2p/peer_test.go | |
parent | 7be05b4b9d9f2f724cbdfa7b79c10f1c25cbdb4b (diff) | |
download | dexon-22d1f0faf1fcb20063b719f8fc70534e268485b6.tar.gz dexon-22d1f0faf1fcb20063b719f8fc70534e268485b6.tar.zst dexon-22d1f0faf1fcb20063b719f8fc70534e268485b6.zip |
p2p: improve peer selection logic
This commit introduces a new (temporary) peer selection
strategy based on random lookups.
While we're here, also implement the TODOs in dialLoop.
Diffstat (limited to 'p2p/peer_test.go')
0 files changed, 0 insertions, 0 deletions