aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-20 17:01:15 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit174b8c3bc1202de027b62fb1d995df3c69bdb254 (patch)
tree5ad4c92e1af933147523b2a0571c0bc4f3ae39f6 /params
parent73b611e6530cfeae090fa3c38402bf74fce281e7 (diff)
downloaddexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar.gz
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar.bz2
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar.lz
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar.xz
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.tar.zst
dexon-174b8c3bc1202de027b62fb1d995df3c69bdb254.zip
Remove reference of Rinkeby network.
We do not need ethereum Rinkeby network in our system, remove it.
Diffstat (limited to 'params')
-rw-r--r--params/bootnodes.go22
-rw-r--r--params/config.go55
2 files changed, 0 insertions, 77 deletions
diff --git a/params/bootnodes.go b/params/bootnodes.go
index 379e97381..3c6ec8555 100644
--- a/params/bootnodes.go
+++ b/params/bootnodes.go
@@ -28,28 +28,6 @@ var TestnetBootnodes = []string{
"enode://0478aa13c91aa0db8e93b668313b7eb0532fbdb24f64772375373b14dbe326c238ad09ab4469f6442c9a9753f1275aeec2e531912c14a958ed1feb4ae7e227ef@127.0.0.1:30301",
}
-// RinkebyBootnodes are the enode URLs of the P2P bootstrap nodes running on the
-// Rinkeby test network.
-var RinkebyBootnodes = []string{
- "enode://a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf@52.169.42.101:30303", // IE
- "enode://343149e4feefa15d882d9fe4ac7d88f885bd05ebb735e547f12e12080a9fa07c8014ca6fd7f373123488102fe5e34111f8509cf0b7de3f5b44339c9f25e87cb8@52.3.158.184:30303", // INFURA
- "enode://b6b28890b006743680c52e64e0d16db57f28124885595fa03a562be1d2bf0f3a1da297d56b13da25fb992888fd556d4c1a27b1f39d531bde7de1921c90061cc6@159.89.28.211:30303", // AKASHA
-}
-
-// GoerliBootnodes are the enode URLs of the P2P bootstrap nodes running on the
-// Görli test network.
-var GoerliBootnodes = []string{
- // Upstrem bootnodes
- "enode://011f758e6552d105183b1761c5e2dea0111bc20fd5f6422bc7f91e0fabbec9a6595caf6239b37feb773dddd3f87240d99d859431891e4a642cf2a0a9e6cbb98a@51.141.78.53:30303",
- "enode://176b9417f511d05b6b2cf3e34b756cf0a7096b3094572a8f6ef4cdcb9d1f9d00683bf0f83347eebdf3b81c3521c2332086d9592802230bf528eaf606a1d9677b@13.93.54.137:30303",
- "enode://46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@94.237.54.114:30313",
- "enode://c1f8b7c2ac4453271fa07d8e9ecf9a2e8285aa0bd0c07df0131f47153306b0736fd3db8924e7a9bf0bed6b1d8d4f87362a71b033dc7c64547728d953e43e59b2@52.64.155.147:30303",
- "enode://f4a9c6ee28586009fb5a96c8af13a58ed6d8315a9eee4772212c1d4d9cebe5a8b8a78ea4434f318726317d04a3f531a1ef0420cf9752605a562cfe858c46e263@213.186.16.82:30303",
-
- // Ethereum Foundation bootnode
- "enode://573b6607cd59f241e30e4c4943fd50e99e2b6f42f9bd5ca111659d309c06741247f4f1e93843ad3e8c8c18b6e2d94c161b7ef67479b3938780a97134b618b5ce@52.56.136.200:30303",
-}
-
// DiscoveryV5Bootnodes are the enode URLs of the P2P bootstrap nodes for the
// experimental RLPx v5 topic-discovery network.
var DiscoveryV5Bootnodes = []string{
diff --git a/params/config.go b/params/config.go
index ec5dc6ed7..9127f144f 100644
--- a/params/config.go
+++ b/params/config.go
@@ -28,7 +28,6 @@ import (
var (
MainnetGenesisHash = common.HexToHash("0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3")
TestnetGenesisHash = common.HexToHash("0x41941023680923e0fe4d74a34bdac8141f2540e3ae90623718e47d66d1ca4a2d")
- RinkebyGenesisHash = common.HexToHash("0x6341fd3daf94b748c72ced5a5b26028f2474f5f00d824504e4fa37a75767e177")
)
var (
@@ -109,60 +108,6 @@ var (
BloomRoot: common.HexToHash("0x0584834e5222471a06c669d210e302ca602780eaaddd04634fd65471c2a91419"),
}
- // 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(9999999), //TODO! Insert Rinkeby block number
- Clique: &CliqueConfig{
- Period: 15,
- Epoch: 30000,
- },
- }
-
- // RinkebyTrustedCheckpoint contains the light client trusted checkpoint for the Rinkeby test network.
- RinkebyTrustedCheckpoint = &TrustedCheckpoint{
- Name: "rinkeby",
- SectionIndex: 113,
- SectionHead: common.HexToHash("0xb812f3095af3af1cb2de7d7c2086ee807736a7315992c461b0986699185daf77"),
- CHTRoot: common.HexToHash("0x5416d0924925eb835987ad3d1f059ecc66778c51959c8246a7a35b22ec5f3109"),
- BloomRoot: common.HexToHash("0xcf74ca2c14e843b366561dab4fc64237bf6bb335119cbc97d723f3b501863470"),
- }
-
- // 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: 0,
- SectionHead: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
- CHTRoot: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
- BloomRoot: common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
- }
-
// AllEthashProtocolChanges contains every protocol change (EIPs) introduced
// and accepted by the Ethereum core developers into the Ethash consensus.
//