aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-14 19:03:29 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-15 00:00:14 +0800
commit4a439c2359991bdc49463ae66da11da895cc6eb7 (patch)
treebb5ef79628597c67af9f13c2aa7ddcf59452d482 /cmd/utils
parent4c16c82500645de83907743555e7256af86a9423 (diff)
downloadgo-tangerine-4a439c2359991bdc49463ae66da11da895cc6eb7.tar.gz
go-tangerine-4a439c2359991bdc49463ae66da11da895cc6eb7.tar.zst
go-tangerine-4a439c2359991bdc49463ae66da11da895cc6eb7.zip
mobile: port wrappers to EIP155 and EIP158 fork
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/bootnodes.go20
1 files changed, 0 insertions, 20 deletions
diff --git a/cmd/utils/bootnodes.go b/cmd/utils/bootnodes.go
index 50b658467..07e64b25f 100644
--- a/cmd/utils/bootnodes.go
+++ b/cmd/utils/bootnodes.go
@@ -17,10 +17,8 @@
package utils
import (
- "github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/p2p/discover"
"github.com/ethereum/go-ethereum/p2p/discv5"
- "github.com/ethereum/go-ethereum/params"
)
// MainnetBootnodes are the enode URLs of the P2P bootstrap nodes running on
@@ -52,21 +50,3 @@ var DiscoveryV5Bootnodes = []*discv5.Node{
discv5.MustParseNode("enode://1c7a64d76c0334b0418c004af2f67c50e36a3be60b5e4790bdac0439d21603469a85fad36f2473c9a80eb043ae60936df905fa28f1ff614c3e5dc34f15dcd2dc@40.118.3.223:30308"),
discv5.MustParseNode("enode://85c85d7143ae8bb96924f2b54f1b3e70d8c4d367af305325d30a61385a432f247d2c75c45c6b4a60335060d072d7f5b35dd1d4c45f76941f62a4f83b6e75daaf@40.118.3.223:30309"),
}
-
-// MainnetChainConfig is the chain parameters to run a node on the main network.
-var MainnetChainConfig = &core.ChainConfig{
- HomesteadBlock: params.MainNetHomesteadBlock,
- DAOForkBlock: params.MainNetDAOForkBlock,
- DAOForkSupport: true,
- HomesteadGasRepriceBlock: params.MainNetHomesteadGasRepriceBlock,
- HomesteadGasRepriceHash: params.MainNetHomesteadGasRepriceHash,
-}
-
-// TestnetChainConfig is the chain parameters to run a node on the test network.
-var TestnetChainConfig = &core.ChainConfig{
- HomesteadBlock: params.TestNetHomesteadBlock,
- DAOForkBlock: params.TestNetDAOForkBlock,
- DAOForkSupport: false,
- HomesteadGasRepriceBlock: params.TestNetHomesteadGasRepriceBlock,
- HomesteadGasRepriceHash: params.TestNetHomesteadGasRepriceHash,
-}