Update content/docs/rfcs/34/README.md

Co-authored-by: Hanno Cornelius <68783915+jm-clius@users.noreply.github.com>
This commit is contained in:
harsh jain 2023-11-03 12:49:21 +07:00 committed by GitHub
parent e1cc3f2606
commit a0580f65d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ message PeerExchangeRPC {
The `enr` field contains a Waku ENR as specified in [31/WAKU2-ENR](/spec/31/). The `enr` field contains a Waku ENR as specified in [31/WAKU2-ENR](/spec/31/).
Requesters send a `PeerExchangeQuery` to a peer. Requesters send a `PeerExchangeQuery` to a peer.
When `cluster_id` is set and `shards` are specified, responder SHOULD provide peers belonging to cluster_id/shards pair. When `cluster_id` is set and `shards` are specified, responders SHOULD provide peers belonging to the specified cluster_id/shards pair.
When no `shards` are specified, responders SHOULD provide a mixed list of peers from any shard and non-shard specific peers. When no `shards` are specified, responders SHOULD provide a mixed list of peers from any shard and non-shard specific peers.
Responders SHOULD include a maximum of `num_peers` `PeerInfo` instances into a response. Responders SHOULD include a maximum of `num_peers` `PeerInfo` instances into a response.
Responders send a `PeerExchangeResponse` to requesters containing a list of `PeerInfo` instances, which in turn hold an ENR. Responders send a `PeerExchangeResponse` to requesters containing a list of `PeerInfo` instances, which in turn hold an ENR.