Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabled the web antiflood #75

Merged
merged 1 commit into from
Aug 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion cmd/chainsimulator/config/nodeOverrideDefault.toml
Original file line number Diff line number Diff line change
@@ -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"}
]
Loading