From f15b30a1dc7e800f8b024491d60201324a01c8cf Mon Sep 17 00:00:00 2001 From: Sergei Tikhomirov Date: Fri, 30 Aug 2024 09:45:05 +0200 Subject: [PATCH] clarify terminology: epoch length vs period --- standards/core/rln-contract.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/standards/core/rln-contract.md b/standards/core/rln-contract.md index b0a1d93..2a7b5e3 100644 --- a/standards/core/rln-contract.md +++ b/standards/core/rln-contract.md @@ -53,19 +53,22 @@ and MAY also use additional criteria. Contract parameters and their RECOMMENDED values for the initial mainnet deployment are as follows: -| Parameter | Symbol | Value | Units | -| ------------------------------------------------------- | --------- | -------- | -------------------- | -| Epoch length | `epoch` | `10` | minutes | -| Maximum total rate limit of all memberships in the tree | `R_{max}` | `160000` | messages per `epoch` | -| Minimum rate limit of one membership | `r_{min}` | `20` | messages per `epoch` | -| Maximum rate limit of one membership | `r_{max}` | `600` | messages per `epoch` | -| Membership price for `1` message per epoch | `p_u` | `0.05` | `USD` | -| Membership expiration term | `T` | `180` | days | -| Membership grace period | `G` | `30` | days | -| Accepted tokens | | `DAI` | | +| Parameter | Symbol | Value | Units | +| ------------------------------------------------------- | --------- | -------- | ------------------ | +| Epoch length | `t_{ep}` | `600` | seconds | +| Maximum total rate limit of all memberships in the tree | `R_{max}` | `160000` | messages per epoch | +| Minimum rate limit of one membership | `r_{min}` | `20` | messages per epoch | +| Maximum rate limit of one membership | `r_{max}` | `600` | messages per epoch | +| Membership price for `1` message per epoch | `p_u` | `0.05` | `USD` | +| Membership expiration term | `T` | `180` | days | +| Membership grace period | `G` | `30` | days | +| Accepted tokens | | `DAI` | | The pricing function SHOULD be linear in the rate limit per epoch. +Note: epoch length means the same as `period` as defined in [17/WAKU2-RLN-RELAY](https://github.com/vacp2p/rfc-index/blob/main/waku/standards/core/17/rln-relay.md). +This specification uses the term "epoch length" instead of "period" to avoid confusion with "grace period". + ## Membership lifecycle Any existing membership MUST always be in exactly one of the following states: