diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-08-30 10:45:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 10:45:06 +0800 |
commit | 2681e011bd48ec107dedae9c7dcbc0810673298c (patch) | |
tree | 11dbe2b7ff285d3fa57d983e1103ccb61bfe122c /simulation/config | |
parent | ca3b30a62ff85090c1a721602e8b202e6ae9a2bd (diff) | |
download | dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar.gz dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar.bz2 dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar.lz dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar.xz dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.tar.zst dexon-consensus-2681e011bd48ec107dedae9c7dcbc0810673298c.zip |
core: Leader Selector. (#80)
Diffstat (limited to 'simulation/config')
-rw-r--r-- | simulation/config/config.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/simulation/config/config.go b/simulation/config/config.go index 6ead62e..8a804a5 100644 --- a/simulation/config/config.go +++ b/simulation/config/config.go @@ -35,8 +35,8 @@ const ( // Agreement settings. type Agreement struct { - CRS string - K int + GenesisCRS string `toml:"genesis_crs"` + K int } // Consensus settings. @@ -91,8 +91,8 @@ func GenerateDefault(path string) error { Validator: Validator{ Consensus: Consensus{ Agreement: Agreement{ - CRS: "In DEXON we trust.", - K: 50, + GenesisCRS: "In DEXON we trust.", + K: 50, }, PhiRatio: float32(2) / 3, K: 1, |