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@dexon.org>2019-03-12 12:19:09 +0800
commit1f96be77a55876efd22d1e2f7887941ede7b70c0 (patch)
tree78de5c93e2e653c35817ed35eff193a2e879ad97 /params/config.go
parentecd02bb80782799065ecc66eea3129317f8ed513 (diff)
downloaddexon-1f96be77a55876efd22d1e2f7887941ede7b70c0.tar.gz
dexon-1f96be77a55876efd22d1e2f7887941ede7b70c0.tar.zst
dexon-1f96be77a55876efd22d1e2f7887941ede7b70c0.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 b5a58088d..c546fbf9d 100644
--- a/params/config.go
+++ b/params/config.go
@@ -58,7 +58,6 @@ var (
DKGSetSize: 4,
RoundInterval: 99999999999,
MinBlockInterval: 900,
- MaxBlockInterval: 1100,
},
}
@@ -97,7 +96,6 @@ var (
DKGSetSize: 4,
RoundInterval: 99999999999,
MinBlockInterval: 900,
- MaxBlockInterval: 1100,
},
}
@@ -207,7 +205,6 @@ type DexconConfig struct {
DKGSetSize uint32 `json:"dkgSetSize"`
RoundInterval uint64 `json:"roundInterval"`
MinBlockInterval uint64 `json:"minBlockInterval"`
- MaxBlockInterval uint64 `json:"maxBlockInterval"`
}
type dexconConfigSpecMarshaling struct {
@@ -216,7 +213,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,
@@ -230,7 +227,6 @@ func (d *DexconConfig) String() string {
d.DKGSetSize,
d.RoundInterval,
d.MinBlockInterval,
- d.MaxBlockInterval,
)
}