mirror of
https://github.com/logos-messaging/waku-proto.git
synced 2026-01-07 08:33:10 +00:00
Add waku v2 message wire format
This commit is contained in:
parent
f7bad73c02
commit
e9b7f33d76
12
waku/message/v1/message.proto
Normal file
12
waku/message/v1/message.proto
Normal 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;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user