log when added peer is behind (hash found in blockchain)

release/1.0.1
zelig 10 years ago
parent af6971f823
commit 47278a6e4e
  1. 1
      blockpool/peers.go

@ -214,6 +214,7 @@ func (self *peers) addPeer(
// check peer current head
if self.bp.hasBlock(currentBlockHash) {
// peer not ahead
plog.Debugf("addPeer: peer <%v> with td %v and current block %s is behind", id, td, hex(currentBlockHash))
return false
}

Loading…
Cancel
Save