bsc/swarm/network/simulations/discovery
Viktor Trón bcb2594151
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
2019-01-17 07:29:34 +01:00
..
discovery_test.go swarm/network: rewrite of peer suggestion engine, fix skipped tests (#18404) 2019-01-17 07:29:34 +01:00
discovery.go swarm: network rewrite merge 2018-06-21 21:10:31 +02:00
snapshot.json all: new p2p node representation (#17643) 2018-09-25 00:59:00 +02:00