diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 10:00:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | f79bf330b4b649ea74d54faf749214c14f32af9c (patch) | |
tree | 1cf494fda8e45813c6e4062a587dfd3ecf1d5a54 /core/genesis.go | |
parent | b4f183ba63e3ab5dccc6371faaa57c77b61e967b (diff) | |
download | dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.gz dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.bz2 dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.lz dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.xz dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.tar.zst dexon-f79bf330b4b649ea74d54faf749214c14f32af9c.zip |
core: various changes on tps tuning (#46)
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go index e7d26d4c2..e41fe9abd 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -387,7 +387,7 @@ func DefaultGenesisBlock() *Genesis { Timestamp: 1540024964, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x5765692d4e696e6720536f6e696320426f6a696520323031382d31302d32302e"), - GasLimit: 80000000, + GasLimit: 40000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(mainnetAllocData), } @@ -399,7 +399,7 @@ func DefaultTestnetGenesisBlock() *Genesis { Config: params.TestnetChainConfig, Nonce: 0x42, ExtraData: hexutil.MustDecode("0x3535353535353535353535353535353535353535353535353535353535353535"), - GasLimit: 80000000, + GasLimit: 40000000, Difficulty: big.NewInt(1), Alloc: decodePrealloc(testnetAllocData), } |