diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-10-24 16:40:58 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-10-29 17:10:00 +0800 |
commit | 8639b0fae975a5e65dea16fe5321168ac0aef128 (patch) | |
tree | 17cc166f2728551ed8999b95c690a423114e25ed /core/config.go | |
parent | 00665a0b72ed93692daec21bbd79931828653228 (diff) | |
download | dexon-8639b0fae975a5e65dea16fe5321168ac0aef128.tar.gz dexon-8639b0fae975a5e65dea16fe5321168ac0aef128.tar.zst dexon-8639b0fae975a5e65dea16fe5321168ac0aef128.zip |
cmd/utils, core, params: explicitly pick reprice fork for fast sync
Diffstat (limited to 'core/config.go')
-rw-r--r-- | core/config.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/config.go b/core/config.go index 3ab04e520..96e39ea3c 100644 --- a/core/config.go +++ b/core/config.go @@ -20,6 +20,7 @@ import ( "errors" "math/big" + "github.com/ethereum/go-ethereum/common" "github.com/ethereum/go-ethereum/core/vm" "github.com/ethereum/go-ethereum/params" ) @@ -36,7 +37,8 @@ type ChainConfig struct { DAOForkBlock *big.Int `json:"daoForkBlock"` // TheDAO hard-fork switch block (nil = no fork) DAOForkSupport bool `json:"daoForkSupport"` // Whether the nodes supports or opposes the DAO hard-fork - HomesteadGasRepriceBlock *big.Int `json:"homesteadGasRepriceBlock"` // Homestead gas reprice switch block (nil = no fork) + HomesteadGasRepriceBlock *big.Int `json:"homesteadGasRepriceBlock"` // Homestead gas reprice switch block (nil = no fork) + HomesteadGasRepriceHash common.Hash `json:"homesteadGasRepriceHash"` // Homestead gas reprice switch block hash (fast sync aid) VmConfig vm.Config `json:"-"` } |