aboutsummaryrefslogtreecommitdiffstats
path: root/core/config.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-10-29 22:21:26 +0800
committerGitHub <noreply@github.com>2016-10-29 22:21:26 +0800
commit63d293cdbe14cf00045b888522ef36d21c907c26 (patch)
treedc2251251b9bd72eac05ebdf17b146788c148ae7 /core/config.go
parent79789af2e7fce8807d21a8eedbf42d41a7c55848 (diff)
parentf0dbec0c93a772b0f3553399126d8c49bfcc85d4 (diff)
downloaddexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar.gz
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar.bz2
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar.lz
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar.xz
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.tar.zst
dexon-63d293cdbe14cf00045b888522ef36d21c907c26.zip
Merge pull request #3195 from karalabe/fix-testnet-fastsync
cmd/utils, core, params: explicitly pick reprice fork for fast sync
Diffstat (limited to 'core/config.go')
-rw-r--r--core/config.go4
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:"-"`
}