aboutsummaryrefslogtreecommitdiffstats
path: root/params/util.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-14 16:22:58 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit2c2e389b778b490fcaf14d9cc45a750647ca5c68 (patch)
tree0534f50f26ce5f62b1acaf0c18667b6cc0998103 /params/util.go
parent3291235711082759cd7b70253c02150a80d57011 (diff)
downloadgo-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.gz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.bz2
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.lz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.xz
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.tar.zst
go-tangerine-2c2e389b778b490fcaf14d9cc45a750647ca5c68.zip
cmd, core, eth, miner, params, tests: finalize the DAO fork
Diffstat (limited to 'params/util.go')
-rw-r--r--params/util.go12
1 files changed, 1 insertions, 11 deletions
diff --git a/params/util.go b/params/util.go
index 884f1f803..9d1fa54e6 100644
--- a/params/util.go
+++ b/params/util.go
@@ -16,19 +16,9 @@
package params
-import (
- "math/big"
-
- "github.com/ethereum/go-ethereum/common"
-)
+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
- DAOForkBlockExtra = common.FromHex("0x64616f2d686172642d666f726b") // Block extradata to signel the fork with ("dao-hard-fork")
- DAOForkExtraRange = big.NewInt(10) // Number of blocks to override the extradata (prevent no-fork attacks)
- DAORefundContract = common.HexToAddress("0x0000000000000000000000000000000000000000") // Address of the refund contract to send DAO balances to
)