aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2016-11-13 04:02:02 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2016-11-14 20:22:19 +0800
commite33e57684fcd364900a896aa3e759bf4821c02e1 (patch)
tree468ce7630903528a4f4082936bae659816976ec5 /les
parenta0c6649960bb4b1155181915d898d066af00a8cb (diff)
downloaddexon-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.gz
dexon-e33e57684fcd364900a896aa3e759bf4821c02e1.tar.zst
dexon-e33e57684fcd364900a896aa3e759bf4821c02e1.zip
p2p/discv5: fixed bootnode connect issues
Diffstat (limited to 'les')
-rw-r--r--les/handler.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/les/handler.go b/les/handler.go
index a51358676..83d73666f 100644
--- a/les/handler.go
+++ b/les/handler.go
@@ -240,6 +240,7 @@ func (pm *ProtocolManager) findServers() {
if pm.p2pServer == nil || pm.topicDisc == nil {
return
}
+ glog.V(logger.Debug).Infoln("Looking for topic", string(pm.lesTopic))
enodes := make(chan string, 100)
stop := make(chan struct{})
go pm.topicDisc.SearchTopic(pm.lesTopic, stop, enodes)
@@ -280,9 +281,9 @@ func (pm *ProtocolManager) Start(srvr *p2p.Server) {
} else {
if pm.topicDisc != nil {
go func() {
- glog.V(logger.Debug).Infoln("Starting topic register")
+ glog.V(logger.Debug).Infoln("Starting registering topic", string(pm.lesTopic))
pm.topicDisc.RegisterTopic(pm.lesTopic, pm.quitSync)
- glog.V(logger.Debug).Infoln("Stopped topic register")
+ glog.V(logger.Debug).Infoln("Stopped registering topic", string(pm.lesTopic))
}()
}
go func() {