diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-05-22 14:06:24 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-05-22 21:38:06 +0800 |
commit | 2b378d75a682fb9e44b0ae92c4fe06a8192869e1 (patch) | |
tree | 4d07494a49d711a83026437b57e4dc3b65f7ae90 /params | |
parent | 24f3bb15caa837545d871b7bde18f8b262412973 (diff) | |
download | dexon-master.tar dexon-master.tar.gz dexon-master.tar.bz2 dexon-master.tar.lz dexon-master.tar.xz dexon-master.tar.zst dexon-master.zip |
Diffstat (limited to 'params')
-rw-r--r-- | params/bootnodes.go | 2 | ||||
-rw-r--r-- | params/config.go | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/params/bootnodes.go b/params/bootnodes.go index 0e0c0364e..66c6d1713 100644 --- a/params/bootnodes.go +++ b/params/bootnodes.go @@ -26,7 +26,7 @@ var MainnetBootnodes = []string{ // TestnetBootnodes are the enode URLs of the P2P bootstrap nodes running on the // Taiwan test network. var TestnetBootnodes = []string{ - "enode://801efa60c24a34a5025bb4472f25e65de951657d2944afe12371c167ba14b9da706dc6e584a2cd22faf98d4975edfc624f63da7accc188ea946a0e2c3e0df132@35.201.155.158:30301", + "enode://801efa60c24a34a5025bb4472f25e65de951657d2944afe12371c167ba14b9da706dc6e584a2cd22faf98d4975edfc624f63da7accc188ea946a0e2c3e0df132@34.80.132.214:30301", "enode://35d0154883fb8571a49951a24a589f16adbd693c06a36e472c4a8c29ed7400d87359e24e54140016ec88106ba12d5678fafc0c86400ed5cf78ba089717c4dc6c@34.73.40.90:30301", } diff --git a/params/config.go b/params/config.go index aabc081a5..a69e6632c 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("0x7108ec505c66c3735053746697442050175db51753b3f8c721294b3ba15fa598") - TestnetGenesisHash = common.HexToHash("0x7d8700a7a731162880adff4f21398a901c0b75d907bec8f4eac51460f94cb846") + TestnetGenesisHash = common.HexToHash("0xab07961b462908b63b8127b7729a4a5a2421480d56b2cdbe0cc36d5118472cec") TaipeiGenesisHash = common.HexToHash("0x5929cb70fe4ba22dce821b2efca737a1874a0f5a34f3ffb9a1e157516622e20b") YilanGenesisHash = common.HexToHash("0xdcdafc044c24d728c6149ecfada746d8de6e59fc5d18063caf7950badc1df12e") ) @@ -81,7 +81,7 @@ var ( // TestnetChainConfig contains the chain parameters to run a node on the Taiwan test network. TestnetChainConfig = &ChainConfig{ ChainID: big.NewInt(238), - DMoment: 1554694200, + DMoment: 1558447800, HomesteadBlock: big.NewInt(0), DAOForkBlock: nil, DAOForkSupport: true, @@ -95,7 +95,7 @@ var ( GenesisCRSText: "In DEXON, we trust.", Owner: common.HexToAddress("0xBF8C48A620bacc46907f9B89732D25E47A2D7Cf7"), MinStake: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e6)), - LockupPeriod: 86400 * 1000, + LockupPeriod: 3600 * 2 * 1000, 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)), @@ -106,7 +106,7 @@ var ( NotaryParamAlpha: 70.5, NotaryParamBeta: 264, RoundLength: 1200, - MinBlockInterval: 1000, + MinBlockInterval: 500, FineValues: []*big.Int{ new(big.Int).Mul(big.NewInt(1e18), big.NewInt(200)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1)), |