aboutsummaryrefslogtreecommitdiffstats
path: root/test_config/test-config-change.toml
diff options
context:
space:
mode:
Diffstat (limited to 'test_config/test-config-change.toml')
-rw-r--r--test_config/test-config-change.toml46
1 files changed, 46 insertions, 0 deletions
diff --git a/test_config/test-config-change.toml b/test_config/test-config-change.toml
new file mode 100644
index 0000000..5950b30
--- /dev/null
+++ b/test_config/test-config-change.toml
@@ -0,0 +1,46 @@
+title = "DEXON Consensus Simulation Config"
+
+[node]
+num = 7
+max_block = 18446744073709551615
+
+# node.consensus is the genesis configuration.
+[node.consensus]
+phi_ratio = 6.666666865348816e-01
+k = 1
+num_chains = 4
+genesis_crs = "In DEXON we trust."
+lambda_ba = 250
+lambda_dkg = 4000
+round_interval = 100000
+notary_set_size = 7
+dkg_set_size = 7
+min_block_interval = 750
+
+# node.config_changes describe the changes of configuration for each round.
+[[node.changes]]
+round = 1
+type = "num_chains"
+value = "5"
+[[node.changes]]
+round = 2
+type = "num_chains"
+value = "6"
+[[node.changes]]
+round = 3
+type = "num_chains"
+value = "4"
+
+[node.legacy]
+propose_interval_mean = 5e+02
+propose_interval_sigma = 5e+01
+
+[networking]
+type = "fake"
+peer_server = "127.0.0.1"
+mean = 1e+01
+sigma = 1e+01
+loss_rate_value = 0e+00
+
+[scheduler]
+worker_num = 2