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

23 lines
431 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;
2022-10-04 23:15:39 +00:00
bytes rln_identifier = 7;
2022-07-05 21:28:34 +00:00
}
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;
2023-02-28 18:18:13 +00:00
bytes meta = 11;
2022-07-05 21:28:34 +00:00
RateLimitProof rate_limit_proof = 21;
2022-09-12 16:10:34 +00:00
bool ephemeral = 31;
2021-03-11 20:27:12 +00:00
}