Skip to content

Commit

Permalink
kad-dht/README: Always return k closest peers with FIND_NODE
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Jun 25, 2021
1 parent e9c18bd commit dab4549
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kad-dht/README.md
Expand Up @@ -390,8 +390,8 @@ message Message {
These are the requirements for each `MessageType`:

* `FIND_NODE`: In the request `key` must be set to the binary `PeerId` of the
node to be found. `closerPeers` is set in the response; for an exact match
exactly one `Peer` is returned; otherwise `k` closest `Peer`s are returned.
node to be found. In the response `closerPeers` is set to the `k` closest
`Peer`s.

* `GET_VALUE`: In the request `key` is an unstructured array of bytes. `record`
is set to the value for the given key (if found in the datastore) and
Expand Down

0 comments on commit dab4549

Please sign in to comment.