aboutsummaryrefslogtreecommitdiffstats
path: root/params/util.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-11 18:55:11 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (patch)
tree62a669dfab270dcfa1e334240083ba067569253f /params/util.go
parent7f00e8c0331bf13739e749bab88bf9006ca02f96 (diff)
downloaddexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.gz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.bz2
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.lz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.xz
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.tar.zst
dexon-461cdb593b9e5bd9ae9ac35c68809a3a29290dcb.zip
core, params, tests: add DAO hard-fork balance moves
Diffstat (limited to 'params/util.go')
-rw-r--r--params/util.go9
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
)