aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-07 21:04:34 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit6060e098c929792f455d7f580ed91e914d28cf3b (patch)
tree1518c9572c5c5609069e6d6c8d03fdf261fd4ad8 /params
parentaa1e052cb41c39363a9930added46dac5b6db832 (diff)
downloaddexon-6060e098c929792f455d7f580ed91e914d28cf3b.tar.gz
dexon-6060e098c929792f455d7f580ed91e914d28cf3b.tar.zst
dexon-6060e098c929792f455d7f580ed91e914d28cf3b.zip
cmd, core, eth, params: implement flags to control dao fork blocks
Diffstat (limited to 'params')
-rw-r--r--params/util.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/params/util.go b/params/util.go
index b37bc79b2..b76850852 100644
--- a/params/util.go
+++ b/params/util.go
@@ -21,4 +21,6 @@ import "math/big"
var (
TestNetHomesteadBlock = big.NewInt(494000) // testnet homestead block
MainNetHomesteadBlock = big.NewInt(1150000) // mainnet homestead block
+ TestNetDAOForkBlock = big.NewInt(8888888) // testnet dao hard-fork block
+ MainNetDAOForkBlock = big.NewInt(9999999) // mainnet dao hard-fork block
)