diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-01-27 10:10:11 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:02 +0800 |
commit | 4b384260432abfad31ccd6f7c10858cb3c44c24c (patch) | |
tree | 8e26fef5ce5442e90eed65f226ec81cf7b44c069 /params | |
parent | bdfa5142e8248aacd38aafb792428f54f326c61b (diff) | |
download | dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar.gz dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar.bz2 dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar.lz dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar.xz dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.tar.zst dexon-4b384260432abfad31ccd6f7c10858cb3c44c24c.zip |
params: update testnet config (#177)
* vendor:sync to latest core
* params: Update config for testnet
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/params/config.go b/params/config.go index 87ef3aa7e..cab3e4db6 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("0xd38d11902c6e134bb85112c05a8faa92ae5189474591ac1343e849be29d7d643") + TestnetGenesisHash = common.HexToHash("0xaf79c06141610103c4728d4e7da2effcc7ee568af46a8cb5c13082315d597d73") ) 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: 1548249900, + DMoment: 1548504300, HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: true, @@ -102,7 +102,7 @@ var ( NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e7)), LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(4e6)), BlockGasLimit: 40000000, - NumChains: 6, + NumChains: 4, LambdaBA: 250, LambdaDKG: 4000, K: 0, |