aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-23 13:04:02 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:56 +0800
commit194210ddd461efb9c38ae93881e1f90a283b34d3 (patch)
tree12b999be4629977316e38d79b23cc11c1a9e95ce /params/config.go
parentb625c03153b961a05f5610bcb6089034d66b5b0c (diff)
downloaddexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar.gz
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar.bz2
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar.lz
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar.xz
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.tar.zst
dexon-194210ddd461efb9c38ae93881e1f90a283b34d3.zip
params: Update testnet config (#167)
* vendor: sync to latest core * param: update testnet config * params: update dmoment
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/params/config.go b/params/config.go
index fa7854070..91277197f 100644
--- a/params/config.go
+++ b/params/config.go
@@ -27,7 +27,7 @@ import (
// Genesis hashes to enforce below configs on.
var (
MainnetGenesisHash = common.HexToHash("0xe972af2797b02f4dab95ffa229714c35d5c55685f20261b9498c8b8a3fe33856")
- TestnetGenesisHash = common.HexToHash("0xaa4414cf836c517a6c4e034d55f5133476d5795bfd2247a7f3375bce2bc3cc56")
+ TestnetGenesisHash = common.HexToHash("0xd38d11902c6e134bb85112c05a8faa92ae5189474591ac1343e849be29d7d643")
)
var (
@@ -83,7 +83,7 @@ var (
// TestnetChainConfig contains the chain parameters to run a node on the Taiwan test network.
TestnetChainConfig = &ChainConfig{
ChainID: big.NewInt(238),
- DMoment: 1547962500,
+ DMoment: 1548124200,
HomesteadBlock: big.NewInt(0),
DAOForkBlock: nil,
DAOForkSupport: true,
@@ -104,12 +104,12 @@ var (
BlockGasLimit: 40000000,
NumChains: 6,
LambdaBA: 250,
- LambdaDKG: 2500,
+ LambdaDKG: 4000,
K: 0,
PhiRatio: 0.667,
NotarySetSize: 4,
DKGSetSize: 4,
- RoundInterval: 600000,
+ RoundInterval: 1200000,
MinBlockInterval: 1000,
FineValues: []*big.Int{
new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e4)),