mirror of https://github.com/waku-org/specs.git
Update metadata.md
This commit is contained in:
parent
e9336d7da8
commit
57dc6b2d46
|
@ -1,13 +1,11 @@
|
|||
---
|
||||
slug: 66
|
||||
title: 66/WAKU2-METADATA
|
||||
title: WAKU2-METADATA
|
||||
name: Waku Metadata Protocol
|
||||
status: raw
|
||||
editor: Alvaro Revuelta <alrevuelta@status.im>
|
||||
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
|
||||
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.
|
||||
|
||||
|
||||
## Protocol id
|
||||
### Protocol id
|
||||
|
||||
`/vac/waku/metadata/1.0.0`
|
||||
|
||||
## Request
|
||||
### Request
|
||||
|
||||
```proto
|
||||
message WakuMetadataRequest {
|
||||
|
@ -29,7 +27,7 @@ message WakuMetadataRequest {
|
|||
}
|
||||
```
|
||||
|
||||
## Response
|
||||
### Response
|
||||
|
||||
```proto
|
||||
message WakuMetadataResponse {
|
||||
|
|
Loading…
Reference in New Issue