aboutsummaryrefslogtreecommitdiffstats
path: root/test_config
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-09-20 14:05:39 +0800
committerGitHub <noreply@github.com>2018-09-20 14:05:39 +0800
commit682de6408544b8d4073333e6659340b304f4399e (patch)
treeff12fd4ffe5b68806daeda21f7724aa5f9012b69 /test_config
parent35f260f1fb55082abbfa0f8b241ae1a0218865e9 (diff)
downloaddexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar.gz
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar.bz2
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar.lz
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar.xz
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.tar.zst
dexon-consensus-682de6408544b8d4073333e6659340b304f4399e.zip
test_config: update config to latest runnable version (#122)
Diffstat (limited to 'test_config')
-rw-r--r--test_config/test.toml20
1 files changed, 14 insertions, 6 deletions
diff --git a/test_config/test.toml b/test_config/test.toml
index 48d31f6..d3d0d08 100644
--- a/test_config/test.toml
+++ b/test_config/test.toml
@@ -1,18 +1,26 @@
title = "DEXON Consensus Simulation Config"
[node]
-num = 21
-propose_interval_mean = 5e+02
-propose_interval_sigma = 5e+0
-max_block = 20
+num = 7
+max_block = 18446744073709551615
[node.consensus]
-phi_ratio = 6.66670024394989e-01
+phi_ratio = 6.666666865348816e-01
k = 1
+chain_num = 7
+genesis_crs = "In DEXON we trust."
+lambda = 250
+
+[node.legacy]
+propose_interval_mean = 5e+02
+propose_interval_sigma = 5e+01
[networking]
type = "tcp-local"
-peer_server = "peer.server"
+peer_server = "127.0.0.1"
mean = 1e+02
sigma = 1e+01
loss_rate_value = 0e+00
+
+[scheduler]
+worker_num = 2