aboutsummaryrefslogtreecommitdiffstats
path: root/params/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-20 17:01:15 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:26:28 +0800
commit85d795d9314ef80d667c17318342515ea4798dec (patch)
tree3afcfa4103e8a04279784bdfdd03b69733dbd41c /params/config.go
parent856a327e813a05a2a7706efc82d813234fb2e349 (diff)
downloadgo-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar.gz
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar.bz2
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar.lz
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar.xz
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.tar.zst
go-tangerine-85d795d9314ef80d667c17318342515ea4798dec.zip
Remove reference of Rinkeby and Goerli network.
We do not need ethereum Rinkeby and Goerli network in our system, remove it.
Diffstat (limited to 'params/config.go')
-rw-r--r--params/config.go58
1 files changed, 0 insertions, 58 deletions
diff --git a/params/config.go b/params/config.go
index b998c93c1..3e9db27f2 100644
--- a/params/config.go
+++ b/params/config.go
@@ -28,8 +28,6 @@ import (
var (
MainnetGenesisHash = common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3")
TestnetGenesisHash = common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d")
- RinkebyGenesisHash = common.HexToHash("0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177")
- GoerliGenesisHash = common.HexToHash("0xbf7e331f7f7c1dd2e05159666b3bf8bc7a8a3a9eb1d518969eab529dd9b88c1a")
)
// TrustedCheckpoints associates each known checkpoint with the genesis hash of
@@ -37,8 +35,6 @@ var (
var TrustedCheckpoints = map[common.Hash]*TrustedCheckpoint{
MainnetGenesisHash: MainnetTrustedCheckpoint,
TestnetGenesisHash: TestnetTrustedCheckpoint,
- RinkebyGenesisHash: RinkebyTrustedCheckpoint,
- GoerliGenesisHash: GoerliTrustedCheckpoint,
}
var (
@@ -119,60 +115,6 @@ var (
BloomRoot: common.HexToHash("0x5ac25c84bd18a9cbe878d4609a80220f57f85037a112644532412ba0d498a31b"),
}
- // RinkebyChainConfig contains the chain parameters to run a node on the Rinkeby test network.
- RinkebyChainConfig = &ChainConfig{
- ChainID: big.NewInt(4),
- HomesteadBlock: big.NewInt(1),
- DAOForkBlock: nil,
- DAOForkSupport: true,
- EIP150Block: big.NewInt(2),
- EIP155Block: big.NewInt(3),
- EIP158Block: big.NewInt(3),
- ByzantiumBlock: big.NewInt(1035301),
- ConstantinopleBlock: big.NewInt(3660663),
- PetersburgBlock: big.NewInt(4321234),
- Clique: &CliqueConfig{
- Period: 15,
- Epoch: 30000,
- },
- }
-
- // RinkebyTrustedCheckpoint contains the light client trusted checkpoint for the Rinkeby test network.
- RinkebyTrustedCheckpoint = &TrustedCheckpoint{
- Name: "rinkeby",
- SectionIndex: 125,
- SectionHead: common.HexToHash("0x8a738386f6bb34add15846f8f49c4c519a2f32519096e792b9f43bcb407c831c"),
- CHTRoot: common.HexToHash("0xa1e5720a9bad4dce794f129e4ac6744398197b652868011486a6f89c8ec84a75"),
- BloomRoot: common.HexToHash("0xa3048fe8b7e30f77f11bc755a88478363d7d3e71c2bdfe4e8ab9e269cd804ba2"),
- }
-
- // GoerliChainConfig contains the chain parameters to run a node on the Görli test network.
- GoerliChainConfig = &ChainConfig{
- ChainID: big.NewInt(5),
- HomesteadBlock: big.NewInt(0),
- DAOForkBlock: nil,
- DAOForkSupport: true,
- EIP150Block: big.NewInt(0),
- EIP155Block: big.NewInt(0),
- EIP158Block: big.NewInt(0),
- ByzantiumBlock: big.NewInt(0),
- ConstantinopleBlock: big.NewInt(0),
- PetersburgBlock: big.NewInt(0),
- Clique: &CliqueConfig{
- Period: 15,
- Epoch: 30000,
- },
- }
-
- // GoerliTrustedCheckpoint contains the light client trusted checkpoint for the Görli test network.
- GoerliTrustedCheckpoint = &TrustedCheckpoint{
- Name: "goerli",
- SectionIndex: 9,
- SectionHead: common.HexToHash("0x8e223d827391eee53b07cb8ee057dbfa11c93e0b45352188c783affd7840a921"),
- CHTRoot: common.HexToHash("0xe0a817ac69b36c1e437c5b0cff9e764853f5115702b5f66d451b665d6afb7e78"),
- BloomRoot: common.HexToHash("0x50d672aeb655b723284969c7c1201fb6ca003c23ed144bcb9f2d1b30e2971c1b"),
- }
-
// AllEthashProtocolChanges contains every protocol change (EIPs) introduced
// and accepted by the Ethereum core developers into the Ethash consensus.
//