go-waku/waku/v2/protocol/pb/waku_message.proto

20 lines
357 B
Protocol Buffer
Raw Normal View History

2021-03-11 20:27:12 +00:00
syntax = "proto3";
2021-04-22 00:09:37 +00:00
package pb;
2021-03-11 20:27:12 +00:00
2022-07-05 21:28:34 +00:00
message RateLimitProof {
bytes proof = 1;
bytes merkle_root = 2;
bytes epoch = 3;
bytes share_x = 4;
bytes share_y = 5;
bytes nullifier = 6;
}
2021-03-11 20:27:12 +00:00
message WakuMessage {
2021-04-07 21:16:29 +00:00
bytes payload = 1;
string contentTopic = 2;
2021-04-07 21:16:29 +00:00
uint32 version = 3;
sint64 timestamp = 10;
2022-07-05 21:28:34 +00:00
RateLimitProof rate_limit_proof = 21;
2021-03-11 20:27:12 +00:00
}