aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/server.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-04-24 16:19:33 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-04-24 16:33:55 +0800
commit6def110c37d4d43402c4b658ce6b291400f840e5 (patch)
treefc1dbd81120ba8a51599bfb3dbc41f0eed9a2005 /p2p/server.go
parent971702e7a1a5e698721fa6147c444abad9c20141 (diff)
downloadgo-tangerine-6def110c37d4d43402c4b658ce6b291400f840e5.tar.gz
go-tangerine-6def110c37d4d43402c4b658ce6b291400f840e5.tar.zst
go-tangerine-6def110c37d4d43402c4b658ce6b291400f840e5.zip
cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.
Diffstat (limited to 'p2p/server.go')
-rw-r--r--p2p/server.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/p2p/server.go b/p2p/server.go
index 39b0b8b6e..5f1b80f51 100644
--- a/p2p/server.go
+++ b/p2p/server.go
@@ -59,9 +59,9 @@ type Server struct {
// with the rest of the network.
BootstrapNodes []*discover.Node
- // SeedCache is the path to the database containing the previously seen live
- // nodes in the network to use as potential bootstrap seeds.
- SeedCache string
+ // SeedCache is the database containing the previously seen live nodes in
+ // the network to use as potential bootstrap seeds.
+ SeedCache *discover.Cache
// Protocols should contain the protocols supported
// by the server. Matching protocols are launched for