aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 10:00:31 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:57 +0800
commit8295920c8398fba7106e5e97256e7e58c9214c94 (patch)
treeee796543b59eb44559105220fe40a858aed65abb /core/genesis.go
parent7d3d9d7e6167327d86ba58009b3bb00c857c1b0e (diff)
downloaddexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar.gz
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar.bz2
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar.lz
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar.xz
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.tar.zst
dexon-8295920c8398fba7106e5e97256e7e58c9214c94.zip
core: various changes on tps tuning (#46)
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 09ab5b701..0b59f4bbb 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),
}