good morning!!!!

Skip to content
Snippets Groups Projects
Commit 1681ee98 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

eth: added a few informative messages regarding downloading

parent a9e4b965
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment