aboutsummaryrefslogtreecommitdiffstats
path: root/test_config
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-07-30 09:05:58 +0800
committerWei-Ning Huang <aitjcize@gmail.com>2018-07-30 09:05:58 +0800
commit279daea6e004ab6ad9d079ccc35b7c52d79630ad (patch)
tree6e07c9ddf5608339c216c4657250f7df238bd75e /test_config
parent568ce1f526d10184af2ccfe342394f57ae689a14 (diff)
downloaddexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar.gz
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar.bz2
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar.lz
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar.xz
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.tar.zst
dexon-consensus-279daea6e004ab6ad9d079ccc35b7c52d79630ad.zip
Add a config that PeerServer can shutdown after receiving enough of block. (#19)
Diffstat (limited to 'test_config')
-rw-r--r--test_config/test.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/test_config/test.toml b/test_config/test.toml
new file mode 100644
index 0000000..a978375
--- /dev/null
+++ b/test_config/test.toml
@@ -0,0 +1,14 @@
+title = "DEXON Consensus Simulation Config"
+
+[validator]
+num =7
+propose_interval_mean = 5e+02
+propose_interval_sigma = 3e+01
+max_block = 10
+
+[networking]
+type = "tcp-local"
+peer_server = "peer.server"
+mean = 1e+02
+sigma = 1e+01
+loss_rate_value = 0e+00