aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-01-14 14:34:49 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:56 +0800
commitdf1a3cb68836db360977b302e0e69f25f0e3b0f4 (patch)
tree992d6011a96d5cfbf7530307a251154dfc7935b2 /params
parent61be5f8ef125d291507edd78f02e7d5c7148c22a (diff)
downloaddexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar.gz
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar.bz2
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar.lz
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar.xz
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.tar.zst
dexon-df1a3cb68836db360977b302e0e69f25f0e3b0f4.zip
params: update genesis config
Diffstat (limited to 'params')
-rw-r--r--params/config.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/params/config.go b/params/config.go
index 46a5d863a..a8535b31f 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,