aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/discover.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-11-14 19:44:35 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-11-15 00:00:14 +0800
commitdfe79cc7845d94d14c2bc091c7eeac082f6b1e90 (patch)
tree18d9c033f86af4eda374261e4c0a165ac2c733c0 /mobile/discover.go
parent4a439c2359991bdc49463ae66da11da895cc6eb7 (diff)
downloaddexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.tar.gz
dexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.tar.zst
dexon-dfe79cc7845d94d14c2bc091c7eeac082f6b1e90.zip
cmd/utils, mobile: place bootnodes in LGPL packages
Diffstat (limited to 'mobile/discover.go')
-rw-r--r--mobile/discover.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/mobile/discover.go b/mobile/discover.go
index bb421fc87..9df2d04c3 100644
--- a/mobile/discover.go
+++ b/mobile/discover.go
@@ -22,20 +22,9 @@ package geth
import (
"errors"
- "github.com/ethereum/go-ethereum/cmd/utils"
"github.com/ethereum/go-ethereum/p2p/discv5"
)
-// FoundationBootnodes returns the enode URLs of the P2P bootstrap nodes operated
-// by the foundation running the V5 discovery protocol.
-func FoundationBootnodes() *Enodes {
- nodes := &Enodes{nodes: make([]*discv5.Node, len(utils.DiscoveryV5Bootnodes))}
- for i, node := range utils.DiscoveryV5Bootnodes {
- nodes.nodes[i] = node
- }
- return nodes
-}
-
// Enode represents a host on the network.
type Enode struct {
node *discv5.Node