diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-14 14:34:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-01-14 16:54:33 +0800 |
commit | 528945c964ded6185d6fe8858986f2ad07e892a5 (patch) | |
tree | d669dee8e00fdebe4b0a186367fc6015bb080618 /params | |
parent | 54e607b916a3ed075b97b17955cb2e8f33910221 (diff) | |
download | dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar.gz dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar.bz2 dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar.lz dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar.xz dexon-528945c964ded6185d6fe8858986f2ad07e892a5.tar.zst dexon-528945c964ded6185d6fe8858986f2ad07e892a5.zip |
params: update genesis config
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/params/config.go b/params/config.go index 5f72c6563..438cf80cf 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("0xeffc8ddbc16ebd98411bb902290ba74a9cc699a4bd02652afecbf864ae542008") - TestnetGenesisHash = common.HexToHash("0xde641c0a52093329aaa5096ed19607243c98390285c5a4f4291c635b9f01301c") + MainnetGenesisHash = common.HexToHash("0x73011fcc8abc63e9e3ac52c6762b002e082bd1c5f3ddb8ac918f6cd6fa4c327b") + TestnetGenesisHash = common.HexToHash("0xc1cb0aa5b5dae1a7a5e1bd04221ea9b3c735c5ebe208d622261a171dfb5a7302") ) // TODO(jimmy): Add DMoment in the config. @@ -47,7 +47,7 @@ var ( Dexcon: &DexconConfig{ GenesisCRSText: "In DEXON, we trust.", Owner: common.HexToAddress("BF8C48A620bacc46907f9B89732D25E47A2D7Cf7"), - MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e5)), + MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), LockupPeriod: 86400 * 3 * 1000, MiningVelocity: 0.1875, NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2.5e9)), @@ -93,11 +93,11 @@ var ( Dexcon: &DexconConfig{ GenesisCRSText: "In DEXON, we trust.", Owner: common.HexToAddress("BF8C48A620bacc46907f9B89732D25E47A2D7Cf7"), - MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e5)), + MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), LockupPeriod: 86400 * 3 * 1000, MiningVelocity: 0.1875, - NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(6e6)), - LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e6)), + NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e7)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(8e6)), BlockGasLimit: 40000000, NumChains: 6, LambdaBA: 250, @@ -130,11 +130,11 @@ var ( Dexcon: &DexconConfig{ GenesisCRSText: "In DEXON, we trust.", Owner: common.HexToAddress("BF8C48A620bacc46907f9B89732D25E47A2D7Cf7"), - MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e5)), + MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), LockupPeriod: 86400 * 3 * 1000, MiningVelocity: 0.1875, - NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(6e6)), - LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e6)), + NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(4e7)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(8e6)), BlockGasLimit: 40000000, NumChains: 6, LambdaBA: 400, |