clarify terminology: epoch length vs period

This commit is contained in:
Sergei Tikhomirov 2024-08-30 09:45:05 +02:00
parent 72fd5336bc
commit f15b30a1dc
No known key found for this signature in database
GPG Key ID: 6A1F8ED9D6538027

View File

@ -54,11 +54,11 @@ and MAY also use additional criteria.
Contract parameters and their RECOMMENDED values for the initial mainnet deployment are as follows: Contract parameters and their RECOMMENDED values for the initial mainnet deployment are as follows:
| Parameter | Symbol | Value | Units | | Parameter | Symbol | Value | Units |
| ------------------------------------------------------- | --------- | -------- | -------------------- | | ------------------------------------------------------- | --------- | -------- | ------------------ |
| Epoch length | `epoch` | `10` | minutes | | Epoch length | `t_{ep}` | `600` | seconds |
| Maximum total rate limit of all memberships in the tree | `R_{max}` | `160000` | messages per `epoch` | | 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` | | Minimum rate limit of one membership | `r_{min}` | `20` | messages per epoch |
| Maximum rate limit of one membership | `r_{max}` | `600` | 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 price for `1` message per epoch | `p_u` | `0.05` | `USD` |
| Membership expiration term | `T` | `180` | days | | Membership expiration term | `T` | `180` | days |
| Membership grace period | `G` | `30` | days | | Membership grace period | `G` | `30` | days |
@ -66,6 +66,9 @@ Contract parameters and their RECOMMENDED values for the initial mainnet deploym
The pricing function SHOULD be linear in the rate limit per epoch. 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 ## Membership lifecycle
Any existing membership MUST always be in exactly one of the following states: Any existing membership MUST always be in exactly one of the following states: