go-ethereum/swarm/network/simulations/discovery
Viktor Trón 1f1c751b6e
swarm/network: rewrite of peer suggestion engine, fix skipped tests (#18404)
* swarm/network: fix skipped tests related to suggestPeer

* swarm/network: rename depth to radius

* swarm/network: uncomment assertHealth and improve comments

* swarm/network: remove commented code

* swarm/network: kademlia suggestPeer algo correction

* swarm/network: kademlia suggest peer

 * simplify suggest Peer code
 * improve peer suggestion algo
 * add comments
 * kademlia testing improvements
   * assertHealth -> checkHealth (test helper)
   * testSuggestPeer -> checkSuggestPeer (test helper)
   * remove testSuggestPeerBug and TestKademliaCase

* swarm/network: kademlia suggestPeer cleanup, improved comments

* swarm/network: minor comment, discovery test default arg

(cherry picked from commit bcb2594151)
2019-02-19 12:55:07 +01:00
..
discovery.go swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
discovery_test.go swarm/network: rewrite of peer suggestion engine, fix skipped tests (#18404) 2019-02-19 12:55:07 +01:00
snapshot.json all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00