diff options
author | lash <nolash@users.noreply.github.com> | 2018-11-27 00:13:59 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-11-27 00:13:59 +0800 |
commit | 1cd007ecae437f5cc54a026e592edfad642a0b69 (patch) | |
tree | 07f5b68365cca5d8be1ba69d9ab1b475ff4613e0 /swarm/network/simulation/kademlia.go | |
parent | bba5fd81921ee700388b4db72db3240d32576b6c (diff) | |
download | go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar.gz go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar.bz2 go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar.lz go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar.xz go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.tar.zst go-tangerine-1cd007ecae437f5cc54a026e592edfad642a0b69.zip |
swarm/network: Correct neighborhood depth (#18066)
Diffstat (limited to 'swarm/network/simulation/kademlia.go')
-rw-r--r-- | swarm/network/simulation/kademlia.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swarm/network/simulation/kademlia.go b/swarm/network/simulation/kademlia.go index f895181d9..7982810ca 100644 --- a/swarm/network/simulation/kademlia.go +++ b/swarm/network/simulation/kademlia.go @@ -33,6 +33,7 @@ var BucketKeyKademlia BucketKey = "kademlia" // WaitTillHealthy is blocking until the health of all kademlias is true. // If error is not nil, a map of kademlia that was found not healthy is returned. +// TODO: Check correctness since change in kademlia depth calculation logic func (s *Simulation) WaitTillHealthy(ctx context.Context, kadMinProxSize int) (ill map[enode.ID]*network.Kademlia, err error) { // Prepare PeerPot map for checking Kademlia health var ppmap map[string]*network.PeerPot |