From 3197e1ec1dcf0c79c130c335c25f2d751e129de6 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Fri, 2 Nov 2018 12:43:39 +0800 Subject: core: vm: governance: remove maxInterval --- params/config.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'params/config.go') diff --git a/params/config.go b/params/config.go index d48ad5546..7109ec0d3 100644 --- a/params/config.go +++ b/params/config.go @@ -57,7 +57,6 @@ var ( DKGSetSize: 4, RoundInterval: 99999999999, MinBlockInterval: 900, - MaxBlockInterval: 1100, }, } @@ -95,7 +94,6 @@ var ( DKGSetSize: 4, RoundInterval: 99999999999, MinBlockInterval: 900, - MaxBlockInterval: 1100, }, } @@ -204,7 +202,6 @@ type DexconConfig struct { DKGSetSize uint32 `json:"dkgSetSize"` RoundInterval uint64 `json:"roundInterval"` MinBlockInterval uint64 `json:"minBlockInterval"` - MaxBlockInterval uint64 `json:"maxBlockInterval"` } type dexconConfigSpecMarshaling struct { @@ -213,7 +210,7 @@ type dexconConfigSpecMarshaling struct { // String implements the stringer interface, returning the consensus engine details. func (d *DexconConfig) String() string { - return fmt.Sprintf("{GenesisCRSText: %v Owner: %v BlockReward: %v BlockGasLimit: %v NumChains: %v LambdaBA: %v LambdaDKG: %v K: %v PhiRatio: %v NotarySetSize: %v DKGSetSize: %v RoundInterval: %v MinBlockInterval: %v MaxBlockInterval: %v BlockReward: %v", + return fmt.Sprintf("{GenesisCRSText: %v Owner: %v BlockReward: %v BlockGasLimit: %v NumChains: %v LambdaBA: %v LambdaDKG: %v K: %v PhiRatio: %v NotarySetSize: %v DKGSetSize: %v RoundInterval: %v MinBlockInterval: %v", d.GenesisCRSText, d.Owner, d.BlockReward, @@ -227,7 +224,6 @@ func (d *DexconConfig) String() string { d.DKGSetSize, d.RoundInterval, d.MinBlockInterval, - d.MaxBlockInterval, ) } -- cgit v1.2.3