File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ from the response.
31
31
## Kademlia Table
32
32
33
33
Nodes in the Discovery Protocol keep information about other nodes in their neighborhood.
34
- Neighbor nodes are stored in a routing table consisting of 'k-buckets'. For each `0 ≤ i <
35
- 256` , every node keeps a k-bucket for nodes of distance between ` 2i ` and ` 2i+1` from
36
- itself.
34
+ Neighbor nodes are stored in a routing table consisting of 'k-buckets'. For each ` i ` in
35
+ ` 0 ≤ i < 256` , every node keeps a k-bucket of neighbors with distance
36
+ ` 2^i ≤ distance < 2^(i+1) ` from itself.
37
37
38
38
The Node Discovery Protocol uses ` k = 16 ` , i.e. every k-bucket contains up to 16 node
39
39
entries. The entries are sorted by time last seen — least-recently seen node at the head,
You can’t perform that action at this time.
0 commit comments