Commit graph

12 commits

Author SHA1 Message Date
lash
49f1a6860e swarm/storage: Correct example kad diagram for non-counted empty bins 2018-11-23 14:40:44 +01:00
lash
0075f5eaea swarm/network: Complete cut-off comments 2018-11-23 14:40:44 +01:00
lash
2c2ec4f542 swarm/network: Replace ugly literals in object constructor. 2018-11-23 14:40:44 +01:00
lash
153beac174 swarm/network: Comment NewPeerPotMap (and small bug fix) 2018-11-23 14:40:44 +01:00
lash
d115a77707 swarm/network: Remove prematurely exported Pof member in kademlia 2018-11-23 14:40:44 +01:00
lash
b5717a7a13 swarm/network: Cover edge case when only proxpeers and more than one farthest 2018-11-23 14:40:44 +01:00
lash
08eb59bd6a swarm/network: Remove log lines 2018-11-23 14:40:44 +01:00
lash
833ceec68e swarm/network: Adjust healthy test to new depth calculation 2018-11-23 14:40:44 +01:00
lash
d47c9de0d4 swarm/network: Set neighbourhood depth 1 bin after nearest non-prox peer 2018-11-23 14:40:43 +01:00
Mark Vujevits
81533deae5 swarm/network: light nodes are not dialed, saved and requested from (#17975)
* RequestFromPeers does not use peers marked as lightnode

* fix warning about variable name

* write tests for RequestFromPeers

* lightnodes should be omitted from the addressbook

* resolve pr comments regarding logging, formatting and comments

* resolve pr comments regarding comments and added a missing newline

* add assertions to check peers in live connections
2018-11-07 20:33:36 +01:00
Viktor Trón
bfce00385f Kademlia refactor (#17641)
* swarm/network: simplify kademlia/hive; rid interfaces

* swarm, swarm/network/stream, swarm/netork/simulations,, swarm/pss: adapt to new Kad API

* swarm/network: minor changes re review; add missing lock to NeighbourhoodDepthC
2018-09-12 11:24:56 +02:00
ethersphere
e187711c65 swarm: network rewrite merge 2018-06-21 21:10:31 +02:00