forked from cerc-io/plugeth
eth: added a few informative messages regarding downloading
This commit is contained in:
parent
a9e4b96573
commit
1681ee9883
@ -159,6 +159,12 @@ out:
|
||||
}
|
||||
|
||||
func (pm *ProtocolManager) synchronise(peer *peer) {
|
||||
// Make sure the peer's TD is higher than our own. If not drop.
|
||||
if peer.td.Cmp(pm.chainman.Td()) <= 0 {
|
||||
return
|
||||
}
|
||||
|
||||
glog.V(logger.Info).Infof("Synchronisation attempt using %s TD=%v\n", peer.id, peer.td)
|
||||
// Get the hashes from the peer (synchronously)
|
||||
err := pm.downloader.Synchronise(peer.id, peer.recentHash)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user