Skip to content

Commit

Permalink
kad-dht/README: Include bootstrap lookup for oneself
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jun 25, 2021
1 parent 1dcb218 commit c755a41
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kad-dht/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,12 @@ On every run, we generate a random peer ID and we look it up via the process
defined in [peer routing](#peer-routing). Peers encountered throughout the
search are inserted in the routing table, as per usual business.

This process is repeated as many times per run as configuration parameter
`QueryCount` (default: 1). Every repetition is subject to a `QueryTimeout`
(default: 10 seconds), which upon firing, aborts the run.
This is repeated as many times per run as configuration parameter `QueryCount`
(default: 1). In addition, to improve awareness of nodes close to oneself,
implementations should include a lookup for their own peer ID.

Every repetition is subject to a `QueryTimeout` (default: 10 seconds), which
upon firing, aborts the run.

## RPC messages

Expand Down

0 comments on commit c755a41

Please sign in to comment.