aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2017-03-01 06:18:13 +0800
committerGitHub <noreply@github.com>2017-03-01 06:18:13 +0800
commit7ff75ac2f2f8a62d52367271194aa7889a5b5c88 (patch)
tree5df5082a037b3479fb4fc714c7dc48d41d169416 /params
parent167be7f260763bb21e703d304b553142d5422266 (diff)
downloaddexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.gz
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.bz2
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.lz
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.xz
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.tar.zst
dexon-7ff75ac2f2f8a62d52367271194aa7889a5b5c88.zip
cmd/utils, core, params: fork all teh things for dev mode (#3697)
Diffstat (limited to 'params')
-rw-r--r--params/config.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/params/config.go b/params/config.go
index 8c285781e..ee993fe4a 100644
--- a/params/config.go
+++ b/params/config.go
@@ -47,6 +47,16 @@ var TestnetChainConfig = &ChainConfig{
EIP158Block: big.NewInt(10),
}
+// AllProtocolChanges contains every protocol change (EIPs)
+// introduced and accepted by the Ethereum core developers.
+//
+// This configuration is intentionally not using keyed fields.
+// This configuration must *always* have all forks enabled, which
+// means that all fields must be set at all times. This forces
+// anyone adding flags to the config to also have to set these
+// fields.
+var AllProtocolChanges = &ChainConfig{big.NewInt(1337), big.NewInt(0), nil, false, big.NewInt(0), common.Hash{}, big.NewInt(0), big.NewInt(0)}
+
// ChainConfig is the core config which determines the blockchain settings.
//
// ChainConfig is stored in the database on a per block basis. This means