Update waku-v2.md

This commit is contained in:
Dean Eigenmann 2020-07-21 16:19:14 +02:00 committed by GitHub
parent 9f5aca949e
commit 317b202175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 8 deletions

View File

@ -180,16 +180,12 @@ message Query {
Cursor cursor = 5;
}
message Envelope {
int32 expiry = 1;
int32 ttl = 2;
bytes nonce = 3;
bytes topic = 4;
bytes data = 5;
}
// So we need to think about either using `Message` or
// having just byte encoded messages and delegating duties
// to that upwards.
message Response {
repeated Envelope envelopes = 1;
repeated Message messages = 1;
Cursor cursor = 2;
}
```