Update metadata.md

This commit is contained in:
Jimmy Debe 2024-02-05 14:15:24 -05:00 committed by GitHub
parent e9336d7da8
commit 57dc6b2d46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,11 @@
--- ---
slug: 66 title: WAKU2-METADATA
title: 66/WAKU2-METADATA
name: Waku Metadata Protocol name: Waku Metadata Protocol
status: raw
editor: Alvaro Revuelta <alrevuelta@status.im> editor: Alvaro Revuelta <alrevuelta@status.im>
contributors: contributors:
--- ---
# Metadata Protocol ## Metadata Protocol
Waku specifies a req/resp protocol that provides information about the node's medatadata. Such metadata is meant to be used Waku specifies a req/resp protocol that provides information about the node's medatadata. Such metadata is meant to be used
by the node to decide if a peer is worth connecting or not. The node that makes the request, includes its metadata by the node to decide if a peer is worth connecting or not. The node that makes the request, includes its metadata
@ -16,11 +14,11 @@ so that the receiver is aware of it, without requiring an extra interaction. The
* `shards`: Shard indexes that the node is subscribed to. * `shards`: Shard indexes that the node is subscribed to.
## Protocol id ### Protocol id
`/vac/waku/metadata/1.0.0` `/vac/waku/metadata/1.0.0`
## Request ### Request
```proto ```proto
message WakuMetadataRequest { message WakuMetadataRequest {
@ -29,7 +27,7 @@ message WakuMetadataRequest {
} }
``` ```
## Response ### Response
```proto ```proto
message WakuMetadataResponse { message WakuMetadataResponse {