diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-11 12:14:27 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:22 +0800 |
commit | a03655ca09836a282db33fadf2fcd78d898364a4 (patch) | |
tree | 733d5b6289e0022ce065f7ec14b39e53d342e8f3 /p2p | |
parent | 36f960e0bf3b3a9e3ba460dad2e8d4c870a8b8b1 (diff) | |
download | go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar.gz go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar.bz2 go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar.lz go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar.xz go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.tar.zst go-tangerine-a03655ca09836a282db33fadf2fcd78d898364a4.zip |
dex: fetcher: modify parameters to speedup syncing (#239)
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/dial.go | 1 |
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) } |