feat(waku2-message): add waku v2 message wire format

This commit is contained in:
Lorenzo Delgado 2022-11-11 02:16:40 +01:00
parent a9fad01f42
commit b840675ab2
No known key found for this signature in database
GPG Key ID: 3F2308060F9292F9

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;
}