go-rln/rln/pb/waku_message.proto
Richard Ramos 7c7e6a9171
feat: cross compilation and API refactor (#1)
* 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
2022-07-04 13:01:54 -04:00

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;
}