2021-03-10 16:22:49 +11:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
2022-09-25 11:30:26 -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-09-26 14:23:41 -04:00
|
|
|
bytes rlnIdentifier = 7;
|
2022-09-25 11:30:26 -04:00
|
|
|
}
|
|
|
|
|
|
2021-05-03 16:26:02 +10:00
|
|
|
message WakuMessage {
|
2021-03-10 16:22:49 +11:00
|
|
|
optional bytes payload = 1;
|
2021-04-08 22:32:36 +10:00
|
|
|
optional string content_topic = 2;
|
2021-03-10 16:22:49 +11:00
|
|
|
optional uint32 version = 3;
|
2022-02-24 16:25:58 +11:00
|
|
|
optional double timestamp_deprecated = 4;
|
|
|
|
|
optional sint64 timestamp = 10;
|
2022-09-25 11:30:26 -04:00
|
|
|
optional RateLimitProof rate_limit_proof = 21;
|
2022-11-16 11:00:43 +11:00
|
|
|
optional bool ephemeral = 31;
|
2021-03-10 16:22:49 +11:00
|
|
|
}
|
2022-09-25 11:30:26 -04:00
|
|
|
|