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

21 lines
382 B
Protocol Buffer

syntax = "proto3";
package pb;
message RateLimitProof {
bytes proof = 1;
bytes merkle_root = 2;
bytes epoch = 3;
bytes share_x = 4;
bytes share_y = 5;
bytes nullifier = 6;
}
message WakuMessage {
bytes payload = 1;
string contentTopic = 2;
uint32 version = 3;
sint64 timestamp = 10;
RateLimitProof rate_limit_proof = 21;
bool ephemeral = 31;
}