The following has been implemented in js-waku. We need to have an appropriate Grafana panel where we can see the number of proofs generated per light-client within a RLN epoch (10 min at this time.)
Ideally, the panel should show:
number of proofs generated per light-client
Representation of the proof budget a full node has per epoch. For example, TWN nodes are configured with a max limit 100 messages per 10 minutes. Then, we need to show the proofs that are left each time to reach the max limit.
Description
The following has been implemented in
js-waku
. We need to have an appropriate Grafana panel where we can see the number of proofs generated per light-client within a RLN epoch (10 min at this time.)Ideally, the panel should show:
For more context, the current limit for TWN is configured in: https://github.com/waku-org/nwaku/blob/01fe4d184764344055dced5ff65da2aa4fbe3a45/waku/factory/networks_config.nim#L29-L30
Related issue
[Epic: js-waku] RLN in resource-restricted environments - https://github.com/waku-org/pm/issues/169 https://docs.google.com/document/d/1L8HvXtAYk-JqQL6w3RgCskXwegcTa0J5nyH9YL4LrQE/edit#heading=h.vqpbd9ne1q33