poolLogger.Warnf("invalid pow on block [%s] by peer %s",name(hash),peerId)
self.peerError(peerId,ErrInvalidPoW,"%x",hash)
return
}
}
poolLogger.Debugf("added block [%s] sent by peer %s",name(hash),peerId)
node.block=block
node.blockBy=peerId
...
...
@@ -544,23 +731,23 @@ LOOP:
// - when turned off (if peer disconnects and new peer connects with alternative chain), no blockrequests are made but absolute expiry timer is ticking
// - when turned back on it recursively calls itself on the root of the next chain section
poolLogger.DebugDetailf("[%s] got all blocks. process complete (%v total blocksRequests): missing %v/%v/%v",sectionName(section),blocksRequests,missing,lastMissing,depth)
poolLogger.DebugDetailf("[%s] got all blocks. process complete (%v total blocksRequests): missing %v/%v/%v",sectionName(sec),blocksRequests,missing,lastMissing,depth)
poolLogger.DebugDetailf("[%s] check if new blocks arrived (attempt %v): missing %v/%v/%v",sectionName(section),blocksRequests,missing,lastMissing,depth)
poolLogger.DebugDetailf("[%s] check if new blocks arrived (attempt %v): missing %v/%v/%v",sectionName(sec),blocksRequests,missing,lastMissing,depth)