diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-18 22:26:35 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:56 +0800 |
commit | 44efa29de27b8884f01fdf07c6614eb5375137fa (patch) | |
tree | 879cc6eb3e635caea6b5e620524cd658ea0ce131 /params/config.go | |
parent | 9c9bf2e717af53640833b898c7a319b2f4803242 (diff) | |
download | dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar.gz dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar.bz2 dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar.lz dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar.xz dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.tar.zst dexon-44efa29de27b8884f01fdf07c6614eb5375137fa.zip |
params: update testnet genesis and dMoment
Diffstat (limited to 'params/config.go')
-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 4e78b9c89..5d0af24f0 100644 --- a/params/config.go +++ b/params/config.go @@ -26,8 +26,8 @@ import ( // Genesis hashes to enforce below configs on. var ( - MainnetGenesisHash = common.HexToHash("0x73011fcc8abc63e9e3ac52c6762b002e082bd1c5f3ddb8ac918f6cd6fa4c327b") - TestnetGenesisHash = common.HexToHash("0xc1cb0aa5b5dae1a7a5e1bd04221ea9b3c735c5ebe208d622261a171dfb5a7302") + MainnetGenesisHash = common.HexToHash("0xe972af2797b02f4dab95ffa229714c35d5c55685f20261b9498c8b8a3fe33856") + TestnetGenesisHash = common.HexToHash("0xaa4414cf836c517a6c4e034d55f5133476d5795bfd2247a7f3375bce2bc3cc56") ) 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: 1547635100, + DMoment: 1547826700, HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: true, @@ -100,7 +100,7 @@ var ( LockupPeriod: 86400 * 3 * 1000, MiningVelocity: 0.1875, NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e7)), - LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(8e6)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(4e6)), BlockGasLimit: 40000000, NumChains: 6, LambdaBA: 250, |