diff --git a/simulations/mixnet/README.md b/simulations/mixnet/README.md index a70b43e62..99b0ba50b 100644 --- a/simulations/mixnet/README.md +++ b/simulations/mixnet/README.md @@ -14,16 +14,16 @@ The simulation includes: ### Available Scripts -| Script | Description | -|--------|-------------| -| `run_mix_node.sh` | Bootstrap mix node (must be started first) | -| `run_mix_node1.sh` | Mix node 1 | -| `run_mix_node2.sh` | Mix node 2 | -| `run_mix_node3.sh` | Mix node 3 | -| `run_mix_node4.sh` | Mix node 4 | -| `run_chat_mix.sh` | Chat app instance 1 | -| `run_chat_mix1.sh` | Chat app instance 2 | -| `build_setup.sh` | Build and generate RLN credentials | +| Script | Description | +| ------------------ | ------------------------------------------ | +| `run_mix_node.sh` | Bootstrap mix node (must be started first) | +| `run_mix_node1.sh` | Mix node 1 | +| `run_mix_node2.sh` | Mix node 2 | +| `run_mix_node3.sh` | Mix node 3 | +| `run_mix_node4.sh` | Mix node 4 | +| `run_chat_mix.sh` | Chat app instance 1 | +| `run_chat_mix1.sh` | Chat app instance 2 | +| `build_setup.sh` | Build and generate RLN credentials | ## Prerequisites @@ -31,12 +31,13 @@ Before running the simulation, build `wakunode2` and `chat2mix`: ```bash cd +source env.sh make wakunode2 chat2mix ``` ## RLN Spam Protection Setup -Before running the simulation, generate RLN credentials and the shared Merkle tree for all nodes: +Generate RLN credentials and the shared Merkle tree for all nodes: ```bash cd simulations/mixnet diff --git a/waku/waku_mix/protocol.nim b/waku/waku_mix/protocol.nim index 7cc7d7a7e..d1c44b588 100644 --- a/waku/waku_mix/protocol.nim +++ b/waku/waku_mix/protocol.nim @@ -125,7 +125,7 @@ proc new*( peermgr.switch, spamProtection = Opt.some(SpamProtection(spamProtection)), delayStrategy = - ExponentialDelayStrategy.new(meanDelayMs = 50, rng = crypto.newRng()), + ExponentialDelayStrategy.new(meanDelayMs = 100, rng = crypto.newRng()), ) processBootNodes(bootnodes, peermgr, m)