diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-01-14 14:34:49 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | b808c177b5c82152e21abb9106ae3dc21977f80b (patch) | |
tree | 78dd903dd22dd4bb2101eb38e39c77bf3d6577b5 /params/config.go | |
parent | dcfef2422a5f431960cc02469ab0fadd88d7cb4b (diff) | |
download | dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar.gz dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar.bz2 dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar.lz dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar.xz dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.tar.zst dexon-b808c177b5c82152e21abb9106ae3dc21977f80b.zip |
params: update genesis config
Diffstat (limited to 'params/config.go')
-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 89b00511f..1931f95b0 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") ) var ( @@ -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)), @@ -94,11 +94,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, @@ -132,11 +132,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, |