mirror of
https://github.com/logos-messaging/go-rln.git
synced 2026-01-02 13:03:07 +00:00
* chore: use cross instead of rustup for building rln * chore: generate protobuffer and contract * refactor: make API match nwaku * feat: add WakuRLNRelay type * test: rln * chore: add more architectures * refactor: use time.Duration instead of uint/float
20 lines
357 B
Protocol Buffer
20 lines
357 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;
|
|
} |