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

23 lines
431 B
Protocol Buffer
Raw Normal View History

2021-03-11 16:27:12 -04:00
syntax = "proto3";
2021-04-21 20:09:37 -04:00
package pb;
2021-03-11 16:27:12 -04:00
2022-07-05 17:28:34 -04: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 19:15:39 -04:00
bytes rln_identifier = 7;
2022-07-05 17:28:34 -04:00
}
2021-03-11 16:27:12 -04:00
message WakuMessage {
2021-04-07 17:16:29 -04:00
bytes payload = 1;
string contentTopic = 2;
2021-04-07 17:16:29 -04:00
uint32 version = 3;
sint64 timestamp = 10;
2023-02-28 14:18:13 -04:00
bytes meta = 11;
2022-07-05 17:28:34 -04:00
RateLimitProof rate_limit_proof = 21;
2022-09-12 12:10:34 -04:00
bool ephemeral = 31;
2021-03-11 16:27:12 -04:00
}