mirror of
https://github.com/logos-messaging/logos-messaging-js.git
synced 2026-02-27 19:43:34 +00:00
* chore: move proto into a separate package * fix: proto dir * fix: build * fix: ci * add: index for proto * fix: ci * Update packages/proto/package.json Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com> Co-authored-by: fryorcraken.eth <110212804+fryorcraken@users.noreply.github.com>
23 lines
487 B
Protocol Buffer
23 lines
487 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
message RateLimitProof {
|
|
bytes proof = 1;
|
|
bytes merkle_root = 2;
|
|
bytes epoch = 3;
|
|
bytes share_x = 4;
|
|
bytes share_y = 5;
|
|
bytes nullifier = 6;
|
|
bytes rlnIdentifier = 7;
|
|
}
|
|
|
|
message WakuMessage {
|
|
optional bytes payload = 1;
|
|
optional string content_topic = 2;
|
|
optional uint32 version = 3;
|
|
optional double timestamp_deprecated = 4;
|
|
optional sint64 timestamp = 10;
|
|
optional RateLimitProof rate_limit_proof = 21;
|
|
optional bool ephemeral = 31;
|
|
}
|
|
|