aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@byzantine-lab.io>2019-08-05 11:59:42 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:31 +0800
commitc744f2cafa476f6a1a38a0a3a24e031883d9c853 (patch)
tree669576a8611762e892c4e23bfd2324df147ccf30 /params/config.go
parent5e30a1686f8a049c27d10d21cca1b7b5aee18f70 (diff)
downloadgo-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar.gz
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar.bz2
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar.lz
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar.xz
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.tar.zst
go-tangerine-c744f2cafa476f6a1a38a0a3a24e031883d9c853.zip
params: update testnet config and dMoment
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go22
1 files changed, 11 insertions, 11 deletions
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)),