From ba8ec7048e71f56e787a1e6afe86d7985b1bf7c2 Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Wed, 7 Jun 2023 13:39:20 +0530 Subject: [PATCH] chore(rln-relay): update tree_config (#1781) --- waku/v2/waku_rln_relay/constants.nim | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/waku/v2/waku_rln_relay/constants.nim b/waku/v2/waku_rln_relay/constants.nim index 79451c13f..1fdde4b79 100644 --- a/waku/v2/waku_rln_relay/constants.nim +++ b/waku/v2/waku_rln_relay/constants.nim @@ -30,7 +30,15 @@ const const # The relative folder where the circuit, proving and verification key for RLN can be found # Note that resources has to be compiled with respect to the above MerkleTreeDepth - RlnConfig* = $(%* { "resources_folder": "tree_height_" & $MerkleTreeDepth & "/" }) + RlnConfig* = $(%* { + "resources_folder": "tree_height_" & $MerkleTreeDepth & "/", + "tree_config": { + "cache_capacity": 15_000, + "mode": "high_throughput", + "compression": false, + "flush_interval": 12_000 + } + }) # temporary variables to test waku-rln-relay performance in the static group mode const