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; Cursor cursor = 5;
} }
message Envelope { // So we need to think about either using `Message` or
int32 expiry = 1; // having just byte encoded messages and delegating duties
int32 ttl = 2; // to that upwards.
bytes nonce = 3;
bytes topic = 4;
bytes data = 5;
}
message Response { message Response {
repeated Envelope envelopes = 1; repeated Message messages = 1;
Cursor cursor = 2; Cursor cursor = 2;
} }
``` ```