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;
|
2021-04-08 18:07:31 -04:00
|
|
|
string contentTopic = 2;
|
2021-04-07 17:16:29 -04:00
|
|
|
uint32 version = 3;
|
2022-02-23 11:01:53 -04:00
|
|
|
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
|
|
|
}
|