diff options
author | Mission Liao <mission.liao@dexon.org> | 2019-02-20 12:53:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-20 12:53:18 +0800 |
commit | 8ef4fc213703620fbfa13890dee042d40eea8545 (patch) | |
tree | ba9a07d2423314396e5677b7294122caa505ae9a /test_config | |
parent | 2cf18fd299ea0fc270b213343314cab652cac271 (diff) | |
download | dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.gz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.bz2 dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.lz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.xz dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.tar.zst dexon-consensus-8ef4fc213703620fbfa13890dee042d40eea8545.zip |
core: switch round by block height (#450)
Diffstat (limited to 'test_config')
-rw-r--r-- | test_config/test-config-change.toml | 11 | ||||
-rw-r--r-- | test_config/test.toml | 5 |
2 files changed, 5 insertions, 11 deletions
diff --git a/test_config/test-config-change.toml b/test_config/test-config-change.toml index 396e627..9ee0839 100644 --- a/test_config/test-config-change.toml +++ b/test_config/test-config-change.toml @@ -6,13 +6,10 @@ max_block = 18446744073709551615 # node.consensus is the genesis configuration. [node.consensus] -phi_ratio = 6.666666865348816e-01 -k = 1 -num_chains = 4 genesis_crs = "In DEXON we trust." lambda_ba = 250 lambda_dkg = 4000 -round_interval = 100000 +round_interval = 1000 notary_set_size = 7 dkg_set_size = 7 min_block_interval = 750 @@ -20,15 +17,15 @@ min_block_interval = 750 # node.config_changes describe the changes of configuration for each round. [[node.changes]] round = 1 -type = "num_chains" +type = "notary_set_size" value = "5" [[node.changes]] round = 2 -type = "num_chains" +type = "notary_set_size" value = "6" [[node.changes]] round = 3 -type = "num_chains" +type = "notary_set_size" value = "4" [node.legacy] diff --git a/test_config/test.toml b/test_config/test.toml index 8c6e342..d16676b 100644 --- a/test_config/test.toml +++ b/test_config/test.toml @@ -5,13 +5,10 @@ num = 7 max_block = 18446744073709551615 [node.consensus] -phi_ratio = 6.666666865348816e-01 -k = 1 -chain_num = 7 genesis_crs = "In DEXON we trust." lambda_ba = 250 lambda_dkg = 4000 -round_interval = 200000 +round_interval = 2000 notary_set_size = 7 dkg_set_size = 7 min_block_interval = 750 |