diff options
author | zelig <viktor.tron@gmail.com> | 2015-03-03 04:39:21 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-03-03 04:39:21 +0800 |
commit | 47278a6e4eb4b8dc02ff322ba24c9c225267ffe5 (patch) | |
tree | 224e1859b65e583dc24f39b6a91dc1cd32625917 /blockpool/peers.go | |
parent | af6971f823431e091142dc81f1b252f681d086cf (diff) | |
download | dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar.gz dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar.bz2 dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar.lz dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar.xz dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.tar.zst dexon-47278a6e4eb4b8dc02ff322ba24c9c225267ffe5.zip |
log when added peer is behind (hash found in blockchain)
Diffstat (limited to 'blockpool/peers.go')
-rw-r--r-- | blockpool/peers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/blockpool/peers.go b/blockpool/peers.go index 576d6e41d..9c4ffc5c6 100644 --- a/blockpool/peers.go +++ b/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 } |