mirror of
https://github.com/logos-messaging/waku-proto.git
synced 2026-01-10 10:03:08 +00:00
feat: add RateLimitProof field and message definition
This commit is contained in:
parent
51269d8c48
commit
cc1baf0ac8
@ -10,4 +10,5 @@ message WakuMessage {
|
||||
optional sint64 timestamp = 10;
|
||||
optional bytes meta = 11;
|
||||
optional bool ephemeral = 31;
|
||||
optional bytes rate_limit_proof = 21;
|
||||
}
|
||||
|
||||
14
waku/rln/v1/rln.proto
Normal file
14
waku/rln/v1/rln.proto
Normal file
@ -0,0 +1,14 @@
|
||||
syntax = "proto3";
|
||||
|
||||
// rfc: https://rfc.vac.dev/spec/17/
|
||||
package waku.rln.v1;
|
||||
|
||||
message RateLimitProof {
|
||||
bytes proof = 1;
|
||||
bytes merkle_root = 2;
|
||||
bytes epoch = 3;
|
||||
bytes share_x = 4;
|
||||
bytes share_y = 5;
|
||||
bytes nullifier = 6;
|
||||
bytes rln_identifier = 7;
|
||||
}
|
||||
@ -37,7 +37,7 @@ message HistoryQuery {
|
||||
}
|
||||
|
||||
message HistoryResponse {
|
||||
// the first field is reserved for future use
|
||||
// The first field is reserved for future use
|
||||
repeated waku.message.v1.WakuMessage messages = 2;
|
||||
PagingInfo paging_info = 3;
|
||||
enum Error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user