mirror of
https://github.com/logos-messaging/specs.git
synced 2026-01-07 16:43:06 +00:00
Update metadata.md
This commit is contained in:
parent
e9336d7da8
commit
57dc6b2d46
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user