mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/storage: Correct example kad diagram for non-counted empty bins
This commit is contained in:
parent
0075f5eaea
commit
49f1a6860e
1 changed files with 1 additions and 1 deletions
|
|
@ -468,9 +468,9 @@ func (k *Kademlia) neighbourhoodDepth() (depth int) {
|
||||||
// 0 abac ccde
|
// 0 abac ccde
|
||||||
// 1 2a2a
|
// 1 2a2a
|
||||||
// 2 589f <--- nearest non-nn
|
// 2 589f <--- nearest non-nn
|
||||||
|
// ============ DEPTH 3 ===========
|
||||||
// 3 <--- don't count as empty bins
|
// 3 <--- don't count as empty bins
|
||||||
// 4 <--- don't count as empty bins
|
// 4 <--- don't count as empty bins
|
||||||
// ============ DEPTH 5 ===========
|
|
||||||
// 5 cbcb cdcd <---- furthest nn
|
// 5 cbcb cdcd <---- furthest nn
|
||||||
// 6 a1a2 b3c4
|
// 6 a1a2 b3c4
|
||||||
if b && i < depth {
|
if b && i < depth {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue