aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/config
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-08-13 14:40:16 +0800
committerWei-Ning Huang <w@dexon.org>2018-08-13 14:42:52 +0800
commit63c76e56169b6f14ef049490392a1b3b414f73c6 (patch)
tree23f060ee08c7b90c925d68aa51ae25260711f53e /simulation/config
parent39e2ea5eb982007a7438198f6d633fe580a3fd1f (diff)
downloaddexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.gz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.bz2
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.lz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.xz
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.tar.zst
dexon-consensus-63c76e56169b6f14ef049490392a1b3b414f73c6.zip
simulation: kubernetes: update config
Diffstat (limited to 'simulation/config')
-rw-r--r--simulation/config/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/simulation/config/config.go b/simulation/config/config.go
index 02c077b..cb67411 100644
--- a/simulation/config/config.go
+++ b/simulation/config/config.go
@@ -78,8 +78,8 @@ func GenerateDefault(path string) error {
Title: "DEXON Consensus Simulation Config",
Validator: Validator{
Consensus: Consensus{
- PhiRatio: 0.66667,
- K: 2,
+ PhiRatio: float32(2) / 3,
+ K: 1,
},
Num: 7,
ProposeIntervalMean: 500,