aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-04-17 20:47:54 +0800
committerGitHub <noreply@github.com>2019-04-17 20:47:54 +0800
commit4bcc0a37ab70cb79b16893556cffdaad6974e7d8 (patch)
tree13a20867c5df35d41655991195e92bd1e5c25de0 /params
parentcdae1c59abc32f85debfa29577fbf1ed036ebf73 (diff)
parentb5f92e66c6df3594430ced80334d0217ddb9ec34 (diff)
downloadgo-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar.gz
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar.bz2
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar.lz
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar.xz
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.tar.zst
go-tangerine-4bcc0a37ab70cb79b16893556cffdaad6974e7d8.zip
Merge pull request #19473 from karalabe/geth-1.8.27v1.8.27
[1.8.27 backport] eth, les, light: enforce CHT checkpoints on fast-sync too
Diffstat (limited to 'params')
-rw-r--r--params/config.go9
-rw-r--r--params/version.go2
2 files changed, 10 insertions, 1 deletions
diff --git a/params/config.go b/params/config.go
index 254508c0a..c59c748ac 100644
--- a/params/config.go
+++ b/params/config.go
@@ -31,6 +31,15 @@ var (
GoerliGenesisHash = common.HexToHash("0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a")
)
+// TrustedCheckpoints associates each known checkpoint with the genesis hash of
+// the chain it belongs to.
+var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
+ MainnetGenesisHash: MainnetTrustedCheckpoint,
+ TestnetGenesisHash: TestnetTrustedCheckpoint,
+ RinkebyGenesisHash: RinkebyTrustedCheckpoint,
+ GoerliGenesisHash: GoerliTrustedCheckpoint,
+}
+
var (
// MainnetChainConfig is the chain parameters to run a node on the main network.
MainnetChainConfig = &ChainConfig{
diff --git a/params/version.go b/params/version.go
index daff23bf4..3535c5401 100644
--- a/params/version.go
+++ b/params/version.go
@@ -23,7 +23,7 @@ import (
const (
VersionMajor = 1 // Major version component of the current release
VersionMinor = 8 // Minor version component of the current release
- VersionPatch = 26 // Patch version component of the current release
+ VersionPatch = 27 // Patch version component of the current release
VersionMeta = "stable" // Version metadata to append to the version string
)