aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-06 14:20:39 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:22 +0800
commitcac86d014703004099ad9acef797e600e7032590 (patch)
treec323a2a54f2060052a6cca2b45dfa0382e5e73b9 /params/config.go
parent8cef1da69a618c781feabb5b391c2216436d08fb (diff)
downloadgo-tangerine-cac86d014703004099ad9acef797e600e7032590.tar
go-tangerine-cac86d014703004099ad9acef797e600e7032590.tar.gz
go-tangerine-cac86d014703004099ad9acef797e600e7032590.tar.bz2
go-tangerine-cac86d014703004099ad9acef797e600e7032590.tar.lz
go-tangerine-cac86d014703004099ad9acef797e600e7032590.tar.xz
go-tangerine-cac86d014703004099ad9acef797e600e7032590.tar.zst
go-tangerine-cac86d014703004099ad9acef797e600e7032590.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.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/params/config.go b/params/config.go
index 767229136..8843c475a 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")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
@@ -142,15 +142,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)),
@@ -189,13 +189,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)),