aboutsummaryrefslogtreecommitdiffstats
path: root/params
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-03-12 12:19:09 +0800
commitd2eda44dcaa123b34a151831c4568fae8f2eef85 (patch)
tree2cc706c5ae9e563c2362e8c0c724f7b163ccfd03 /params
parent1fd3c43990a9185db709a025ea5110f2930a3587 (diff)
downloaddexon-d2eda44dcaa123b34a151831c4568fae8f2eef85.tar.gz
dexon-d2eda44dcaa123b34a151831c4568fae8f2eef85.tar.zst
dexon-d2eda44dcaa123b34a151831c4568fae8f2eef85.zip
params: Update testnet config (#167)
* vendor: sync to latest core * param: update testnet config * params: update dmoment
Diffstat (limited to 'params')
-rw-r--r--params/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/params/config.go b/params/config.go
index 90b1d2e31..b9b99e675 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)),