diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-11 18:55:11 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (patch) | |
tree | 62a669dfab270dcfa1e334240083ba067569253f /params/util.go | |
parent | 7f00e8c0331bf13739e749bab88bf9006ca02f96 (diff) | |
download | go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.gz go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.zst go-tangerine-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.zip |
core, params, tests: add DAO hard-fork balance moves
Diffstat (limited to 'params/util.go')
-rw-r--r-- | params/util.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/params/util.go b/params/util.go index a0c9a3199..884f1f803 100644 --- a/params/util.go +++ b/params/util.go @@ -26,8 +26,9 @@ 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) + 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 ) |