aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/dial.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2019-03-11 12:14:27 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:57 +0800
commitabcb28c8854c74942dd731f971dff2128fe0084f (patch)
tree2ad508e5202747d98905c50b936717fcbc73a898 /p2p/dial.go
parentaba923d4065e0b1f716a54539058a932bd6a89e0 (diff)
downloaddexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar.gz
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar.bz2
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar.lz
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar.xz
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.tar.zst
dexon-abcb28c8854c74942dd731f971dff2128fe0084f.zip
dex: fetcher: modify parameters to speedup syncing (#239)
Diffstat (limited to 'p2p/dial.go')
-rw-r--r--p2p/dial.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/dial.go b/p2p/dial.go
index b323bdac1..cd226c53a 100644
--- a/p2p/dial.go
+++ b/p2p/dial.go
@@ -223,6 +223,7 @@ func (s *dialstate) newTasks(nRunning int, peers map[enode.ID]*Peer, now time.Ti
log.Warn("Removing direct dial candidate", "id", t.dest.ID(), "addr", &net.TCPAddr{IP: t.dest.IP(), Port: t.dest.TCP()}, "err", err)
delete(s.direct, t.dest.ID())
case nil:
+ log.Debug("Direct peer connected", "id", id)
s.dialing[id] = t.flags
newtasks = append(newtasks, t)
}