diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-06 14:20:39 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | c110f44b7cff316435b1acc7cdd2667a88bb0088 (patch) | |
tree | 4ce52a79404dd72ae1df7b81c66d704e6874fec3 /params/config.go | |
parent | d83ab9b386e0cdeeb9afe8f39849b922e32a32e4 (diff) | |
download | dexon-c110f44b7cff316435b1acc7cdd2667a88bb0088.tar.gz dexon-c110f44b7cff316435b1acc7cdd2667a88bb0088.tar.zst dexon-c110f44b7cff316435b1acc7cdd2667a88bb0088.zip |
params: Update config (#224)
* params: Update config
* Update taipei to 30 nodes setup
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 6b03bfda8..b987139e9 100644 --- a/params/config.go +++ b/params/config.go @@ -28,7 +28,7 @@ import ( var ( MainnetGenesisHash = common.HexToHash("0x1c7166166a0d5030bce584ecfb153d874be4afb0bfda7c844ff339c85fee5e4a") TestnetGenesisHash = common.HexToHash("0x8eeae9be1662831bf98627e7fdd8185c808aa177bdf4e1eed5631d065bf14973") - YilanGenesisHash = common.HexToHash("0xa1011afd7391b4d7929c1ebbeab490cc2be45e699b75e3bea8948d525b52b465") + YilanGenesisHash = common.HexToHash("0x2c70b276af6c65e18863105f51562571c8c7b710400e31f9c96892d4c0b9699f") ) var ( @@ -135,15 +135,15 @@ var ( 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(2e7)), - LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(4e6)), - BlockGasLimit: 40000000, + NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1.4e8)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1.6e7)), + BlockGasLimit: 21000 * 5000, LambdaBA: 250, LambdaDKG: 10000, - NotarySetSize: 4, - DKGSetSize: 4, + NotarySetSize: 18, + DKGSetSize: 14, RoundLength: 1200, - MinBlockInterval: 1000, + MinBlockInterval: 500, FineValues: []*big.Int{ new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e4)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e4)), @@ -182,13 +182,13 @@ var ( MiningVelocity: 0.1875, NextHalvingSupply: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(2e7)), LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(4e6)), - BlockGasLimit: 40000000, + BlockGasLimit: 21000 * 5000, LambdaBA: 250, LambdaDKG: 10000, NotarySetSize: 4, DKGSetSize: 4, RoundLength: 1200, - MinBlockInterval: 1000, + MinBlockInterval: 500, FineValues: []*big.Int{ new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e4)), new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1e4)), |