aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-29 18:33:57 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-10-29 22:07:07 +0800
commitf0dbec0c93a772b0f3553399126d8c49bfcc85d4 (patch)
treea3ced3d61ef6a5569752d549da6c13d27c344c48 /params
parent8639b0fae975a5e65dea16fe5321168ac0aef128 (diff)
downloaddexon-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.gz
dexon-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.tar.zst
dexon-f0dbec0c93a772b0f3553399126d8c49bfcc85d4.zip
cmd, params: only set default fork configs for test and mainnet
Diffstat (limited to 'params')
-rw-r--r--params/util.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/params/util.go b/params/util.go
index bd0cff7e8..63f571a17 100644
--- a/params/util.go
+++ b/params/util.go
@@ -23,6 +23,9 @@ import (
)
var (
+ TestNetGenesisHash = common.HexToHash("0x0cd786a2425d16f152c658316c423e6ce1181e15c3295826d7c9904cba9ce303") // Testnet genesis hash to enforce below configs on
+ MainNetGenesisHash = common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3") // Mainnet genesis hash to enforce below configs on
+
TestNetHomesteadBlock = big.NewInt(494000) // Testnet homestead block
MainNetHomesteadBlock = big.NewInt(1150000) // Mainnet homestead block