diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-18 22:26:35 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-01-18 23:44:58 +0800 |
commit | 5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36 (patch) | |
tree | 7ed9fd74458cc23651c021a824b30c0bddb0ee99 /params | |
parent | 9eedd53cfdc2a29dac3cacc92244bd00c5d4afe1 (diff) | |
download | dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar.gz dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar.bz2 dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar.lz dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar.xz dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.tar.zst dexon-5bcc0374936f746a7c7717c3b9eaa4e86cfd1d36.zip |
params: update testnet genesis and dMoment
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/params/config.go b/params/config.go index b637e6f37..8ce076bba 100644 --- a/params/config.go +++ b/params/config.go @@ -26,11 +26,10 @@ 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") ) -// TODO(jimmy): Add DMoment in the config. var ( // MainnetChainConfig is the chain parameters to run a node on the main network. MainnetChainConfig = &ChainConfig{ @@ -83,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: 1547635100, + DMoment: 1547826700, HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: true, @@ -99,7 +98,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, |