From 4e8cac135976b7f454c35b4155c9be415d720e5d Mon Sep 17 00:00:00 2001 From: Iulian Pascalau Date: Mon, 12 Aug 2024 20:58:28 +0300 Subject: [PATCH] - disabled the web antiflood --- cmd/chainsimulator/config/nodeOverrideDefault.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/chainsimulator/config/nodeOverrideDefault.toml b/cmd/chainsimulator/config/nodeOverrideDefault.toml index 1137474..5fb030d 100644 --- a/cmd/chainsimulator/config/nodeOverrideDefault.toml +++ b/cmd/chainsimulator/config/nodeOverrideDefault.toml @@ -1,6 +1,11 @@ # System overrides, DO NOT EDIT THIS FILE OverridableConfigTomlValues = [ + # the following line will disable stake limits (so the stake operations will accept as many nodes as desired) { File = "enableEpochs.toml", Path = "EnableEpochs.StakeLimitsEnableEpoch", Value = "1000000" }, # disable stake limits { File = "systemSmartContractsConfig.toml", Path = "ESDTSystemSCConfig.BaseIssuingCost", Value = "50000000000000000" }, # (0.05 EGLD) - { File = "config.toml", Path = "Debug.Process.Enabled", Value = "false" } + { File = "config.toml", Path = "Debug.Process.Enabled", Value = "false" }, # disable process debugger component that might alter the log levels + # the folowing 3 lines will disable the web antiflooding (useful to send a large transaction batch to the chain simulator) + { File = "config.toml", Path = "WebServerAntiflood.WebServerAntifloodEnabled", Value = "false"}, + { File = "config.toml", Path = "WebServerAntiflood.SimultaneousRequests", Value = "100000"}, + { File = "config.toml", Path = "WebServerAntiflood.SameSourceRequests", Value = "1000000"} ]