aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-15 10:50:55 +0800
committerGitHub <noreply@github.com>2018-10-15 10:50:55 +0800
commitc59b65f22bcd61b10c654ee784d6b8bef9fd3bca (patch)
tree862393f9cbba20b4c4b163e56cbe395e4701fe1c
parent15ed497b84e7f3ebe265f52c8f45839e332905c6 (diff)
downloaddexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar.gz
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar.bz2
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar.lz
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar.xz
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.tar.zst
dexon-consensus-c59b65f22bcd61b10c654ee784d6b8bef9fd3bca.zip
test_config: sync default config (#200)
-rw-r--r--simulation/config/config.go2
-rw-r--r--test_config/test.toml4
2 files changed, 4 insertions, 2 deletions
diff --git a/simulation/config/config.go b/simulation/config/config.go
index ac4303d..ec0aa37 100644
--- a/simulation/config/config.go
+++ b/simulation/config/config.go
@@ -100,7 +100,7 @@ func GenerateDefault(path string) error {
GenesisCRS: "In DEXON we trust.",
LambdaBA: 250,
LambdaDKG: 1000,
- RoundInterval: 365 * 86400 * 1000,
+ RoundInterval: 30 * 1000,
},
Legacy: Legacy{
ProposeIntervalMean: 500,
diff --git a/test_config/test.toml b/test_config/test.toml
index d3d0d08..ddc27b8 100644
--- a/test_config/test.toml
+++ b/test_config/test.toml
@@ -9,7 +9,9 @@ phi_ratio = 6.666666865348816e-01
k = 1
chain_num = 7
genesis_crs = "In DEXON we trust."
-lambda = 250
+lambda_ba = 250
+lambda_dkg = 1000
+round_interval = 300000
[node.legacy]
propose_interval_mean = 5e+02