diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-13 10:13:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | 52ed7dfd65755661c02fcb0710bbd6089d3429c3 (patch) | |
tree | 8855c4d2171cb0c49f9c3c6ac207ff9d16ae1a1d /params | |
parent | 4ccf46bcec17b207f915f358f8b23055cd603a5a (diff) | |
download | dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar.gz dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar.bz2 dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar.lz dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar.xz dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.tar.zst dexon-52ed7dfd65755661c02fcb0710bbd6089d3429c3.zip |
params: update testnet config to 40 nodes
Diffstat (limited to 'params')
-rw-r--r-- | params/config.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/params/config.go b/params/config.go index 255f84d53..6ad7fff67 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("0xcf52354de5cb9e38930ef7db9a5fba771d9ac1738398ba3495d2a22897ff64d4") - TestnetGenesisHash = common.HexToHash("0x7ffc113d55e3a43f071b7475efc8eb6a866c723c5b3b2ebc7e4657a8f80d2f6c") + MainnetGenesisHash = common.HexToHash("0x90f3ee1749d01fe355e8f3e72d2851df4424a0eeb1a97bd49df6d18206726100") + TestnetGenesisHash = common.HexToHash("0x736a4d8f7cb6756c239ef0cb7b788fb500f9fec186eb1c29a735556ffd2a965a") YilanGenesisHash = common.HexToHash("0x35c657b55ee61ffb9b4dbbea43507693da612a0bc89b8713f6865cfd3ed5f2e9") ) @@ -98,13 +98,13 @@ 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.8e8)), + LastHalvedAmount: new(big.Int).Mul(big.NewInt(1e18), big.NewInt(1.6e7)), + BlockGasLimit: 80000000, LambdaBA: 250, LambdaDKG: 10000, - NotarySetSize: 4, - DKGSetSize: 4, + NotarySetSize: 24, + DKGSetSize: 24, RoundLength: 1200, MinBlockInterval: 1000, FineValues: []*big.Int{ |