From c744f2cafa476f6a1a38a0a3a24e031883d9c853 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Mon, 5 Aug 2019 11:59:42 +0800 Subject: params: update testnet config and dMoment --- params/config.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'params/config.go') diff --git a/params/config.go b/params/config.go index 3059a9731..b16bc72d7 100644 --- a/params/config.go +++ b/params/config.go @@ -27,7 +27,7 @@ import ( // Genesis hashes to enforce below configs on. var ( MainnetGenesisHash = common.HexToHash("0x2ab080a9ff5d0bbdcdc9e6938f4e17268b4bdd2be857cb522aa104e29e5a54b4") - TestnetGenesisHash = common.HexToHash("0x2107976202d7b9e95d56928e1bab136a7d5b92a6b0e088714023d14cd35dd6a6") + TestnetGenesisHash = common.HexToHash("0x11d92f5e92bc593b7f3e7fbde0cc4f9a103f17631d816a6b0a3995566434bca7") ) // TrustedCheckpoints associates each known checkpoint with the genesis hash of @@ -86,7 +86,7 @@ var ( // TestnetChainConfig contains the chain parameters to run a node on the Taiwan test network. TestnetChainConfig = &ChainConfig{ ChainID: big.NewInt(374), - DMoment: 1562220500, + DMoment: 1564978200, HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: true, @@ -97,23 +97,23 @@ var ( ConstantinopleBlock: big.NewInt(0), PetersburgBlock: big.NewInt(0), Dexcon: &DexconConfig{ - GenesisCRSText: "OOOOoooooooooooooooooooooooooooo", + GenesisCRSText: "Tangerine Testnet", Owner: common.HexToAddress("0x0D54AF942d6bF13870F5CA65D470954f21D3cBE5"), MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), - LockupPeriod: 86400, - MiningVelocity: 0.1875, - NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2.5e9)), - LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1.5e9)), - MinGasPrice: new(big.Int).Mul(big.NewInt(1e9), big.NewInt(24)), + LockupPeriod: 3600, + MiningVelocity: 0.18, + NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(125e6)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(75e6)), + MinGasPrice: new(big.Int).Mul(big.NewInt(1e9), big.NewInt(1)), BlockGasLimit: 210000000, LambdaBA: 250, - LambdaDKG: 10000, + LambdaDKG: 20000, NotaryParamAlpha: 70.5, NotaryParamBeta: 264, - RoundLength: 1200, + RoundLength: 3600, MinBlockInterval: 1000, FineValues: []*big.Int{ - new(big.Int).Mul(big.NewInt(1e18), big.NewInt(200)), + new(big.Int).Mul(big.NewInt(1e18), big.NewInt(100)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), -- cgit v1.2.3