mirror of
https://github.com/logos-messaging/go-zerokit-rln.git
synced 2026-01-04 06:03:09 +00:00
fix: make rln rate limit spec compliant
This commit is contained in:
parent
d284a3d8f2
commit
ab22cb27db
@ -154,7 +154,7 @@ func init() {
|
|||||||
// the root is created locally, using createMembershipList proc from waku_rln_relay_utils module, and the result is hardcoded in here
|
// the root is created locally, using createMembershipList proc from waku_rln_relay_utils module, and the result is hardcoded in here
|
||||||
const STATIC_GROUP_MERKLE_ROOT = "ca7290e49680fa14eeaeea709e4742a8a074a1bcbfd50a4b3976742ae8a6ca25"
|
const STATIC_GROUP_MERKLE_ROOT = "ca7290e49680fa14eeaeea709e4742a8a074a1bcbfd50a4b3976742ae8a6ca25"
|
||||||
|
|
||||||
const EPOCH_UNIT_SECONDS = uint64(10) // the rln-relay epoch length in seconds
|
const EPOCH_UNIT_SECONDS = uint64(1) // the rln-relay epoch length in seconds
|
||||||
|
|
||||||
type Epoch [32]byte
|
type Epoch [32]byte
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user