plog.Debugf("HeadSection: <%s> section process for head %s started",self.id,hex(self.currentBlockHash))
self.lock.RUnlock()
self.blockHashesRequestTimer=nil
...
...
@@ -570,7 +573,6 @@ LOOP:
self.bp.status.badPeers[self.id]++
self.bp.status.lock.Unlock()
// there is no persistence here, so GC will just take care of cleaning up
breakLOOP
// signal for peer switch, quit
case<-switchC:
...
...
@@ -593,9 +595,9 @@ LOOP:
self.bp.status.badPeers[self.id]++
self.bp.status.lock.Unlock()
plog.Debugf("HeadSection: <%s> (headsection [%s]) quit channel closed : timed out without providing new blocks...quitting",self.id,sectionhex(self.headSection))