diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-23 13:04:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-23 13:04:02 +0800 |
commit | 93c6e1241c977363c1c70b19a8c7acf789ec6a4f (patch) | |
tree | c7a6e6a961c1f68ac19b0170d8ccf388bfcf0c67 /params | |
parent | 2e15820e601296964c50f5b07f70c75004496714 (diff) | |
download | dexon-93c6e1241c977363c1c70b19a8c7acf789ec6a4f.tar.gz dexon-93c6e1241c977363c1c70b19a8c7acf789ec6a4f.tar.zst dexon-93c6e1241c977363c1c70b19a8c7acf789ec6a4f.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.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/params/config.go b/params/config.go index 8ab0d39f7..0d53cce57 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 ( @@ -82,7 +82,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, @@ -102,12 +102,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)), |