Skip to content

Commit 0b3b679

Browse files
discv4.md: update text about node ordering in bucket (#241)
1 parent 6ef4168 commit 0b3b679

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

discv4.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ entries. The entries are sorted by time last seen — least-recently seen node a
4040
most-recently seen at the tail.
4141

4242
Whenever a new node N₁ is encountered, it can be inserted into the corresponding bucket.
43-
If the bucket contains less than `k` entries N₁ can simply be added as the first entry. If
43+
If the bucket contains less than `k` entries N₁ can simply be added as the last entry. If
4444
the bucket already contains `k` entries, the least recently seen node in the bucket, N₂,
4545
needs to be revalidated by sending a [Ping] packet. If no reply is received from N₂ it is
46-
considered dead, removed and N₁ added to the front of the bucket.
46+
considered dead, removed and N₁ added to the tail of the bucket.
4747

4848
## Endpoint Proof
4949

0 commit comments

Comments
 (0)