Add waku v2 message wire format

This commit is contained in:
Lorenzo Delgado 2022-11-16 12:27:01 +01:00 committed by GitHub
parent f7bad73c02
commit e9b7f33d76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,12 @@
syntax = "proto3";
// 14/WAKU2-MESSAGE rfc: https://rfc.vac.dev/spec/14/
package waku.message.v1;
message WakuMessage {
bytes payload = 1;
string content_topic = 2;
optional uint32 version = 3;
optional sint64 timestamp = 10;
optional bool ephemeral = 31;
}