aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-02 12:43:39 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:17 +0800
commitb2e87ed696aed980902308e9210fa33bf9143657 (patch)
tree1d757233e4cfe74df87e031cef55f8808ee662ec /params/config.go
parentfa4a62c777f38a5f03176405a53c3926fcb90a31 (diff)
downloadgo-tangerine-b2e87ed696aed980902308e9210fa33bf9143657.tar.gz
go-tangerine-b2e87ed696aed980902308e9210fa33bf9143657.tar.zst
go-tangerine-b2e87ed696aed980902308e9210fa33bf9143657.zip
core: vm: governance: remove maxInterval
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/params/config.go b/params/config.go
index 11d25f9ef..744be496b 100644
--- a/params/config.go
+++ b/params/config.go
@@ -65,7 +65,6 @@ var (
DKGSetSize: 4,
RoundInterval: 99999999999,
MinBlockInterval: 900,
- MaxBlockInterval: 1100,
},
}
@@ -104,7 +103,6 @@ var (
DKGSetSize: 4,
RoundInterval: 99999999999,
MinBlockInterval: 900,
- MaxBlockInterval: 1100,
},
}
@@ -214,7 +212,6 @@ type DexconConfig struct {
DKGSetSize uint32 `json:"dkgSetSize"`
RoundInterval uint64 `json:"roundInterval"`
MinBlockInterval uint64 `json:"minBlockInterval"`
- MaxBlockInterval uint64 `json:"maxBlockInterval"`
}
type dexconConfigSpecMarshaling struct {
@@ -223,7 +220,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,
@@ -237,7 +234,6 @@ func (d *DexconConfig) String() string {
d.DKGSetSize,
d.RoundInterval,
d.MinBlockInterval,
- d.MaxBlockInterval,
)
}