aboutsummaryrefslogtreecommitdiffstats
path: root/core/configuration-chain_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-29 14:31:03 +0800
committerGitHub <noreply@github.com>2019-03-29 14:31:03 +0800
commit04a4df9479e31f1418760a389060706a72259381 (patch)
tree6f09bf2646ed87627f348a2c0f66e3465d7d231a /core/configuration-chain_test.go
parente3e7f4fbd840819b1ef44ae2c345f64e0bb2c161 (diff)
downloaddexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar.gz
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar.bz2
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar.lz
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar.xz
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.tar.zst
dexon-consensus-04a4df9479e31f1418760a389060706a72259381.zip
core: reset DKG if to less qualified nodes (#528)
Diffstat (limited to 'core/configuration-chain_test.go')
-rw-r--r--core/configuration-chain_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/configuration-chain_test.go b/core/configuration-chain_test.go
index a4c6e2a..0adfdcf 100644
--- a/core/configuration-chain_test.go
+++ b/core/configuration-chain_test.go
@@ -271,7 +271,7 @@ func (s *ConfigurationChainTestSuite) preparePartialSignature(
// All participants are good people in this test.
func (s *ConfigurationChainTestSuite) TestConfigurationChain() {
k := 4
- n := 10
+ n := 7
round := DKGDelayRound
reset := uint64(0)
cfgChains := s.runDKG(k, n, round, reset)
@@ -320,7 +320,7 @@ func (s *ConfigurationChainTestSuite) TestConfigurationChain() {
func (s *ConfigurationChainTestSuite) TestDKGMasterPublicKeyDelayAdd() {
k := 4
- n := 10
+ n := 7
round := DKGDelayRound
reset := uint64(0)
lambdaDKG := 1000 * time.Millisecond
@@ -387,7 +387,7 @@ func (s *ConfigurationChainTestSuite) TestDKGMasterPublicKeyDelayAdd() {
func (s *ConfigurationChainTestSuite) TestDKGComplaintDelayAdd() {
k := 4
- n := 10
+ n := 7
round := DKGDelayRound
reset := uint64(0)
lambdaDKG := 1000 * time.Millisecond