diff options
author | Sonic <sonic@dexon.org> | 2019-04-02 19:00:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:55 +0800 |
commit | bd0a9ffa31539f43e4deb3aaf6e48a72571253fa (patch) | |
tree | f9a3bc278c3077b3378bf40013134dc700fee2dd /dex | |
parent | 8012e32fb72dc05cfa995d2934569b9411871395 (diff) | |
download | go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar.gz go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar.bz2 go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar.lz go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar.xz go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.tar.zst go-tangerine-bd0a9ffa31539f43e4deb3aaf6e48a72571253fa.zip |
p2p, p2p/discover: more aggressive dial strategy for direct dial (#326)
* p2p/discover: bump failure counter only if no nodes were provided
* p2p: more aggressive dial strategy for direct dial
Diffstat (limited to 'dex')
-rw-r--r-- | dex/nodetable.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/nodetable.go b/dex/nodetable.go index ba1c28994..cc1de160f 100644 --- a/dex/nodetable.go +++ b/dex/nodetable.go @@ -42,7 +42,7 @@ func (t *nodeTable) AddRecords(records []*enr.Record) { } if n, ok := t.entry[node.ID()]; ok && n.Seq() >= node.Seq() { - log.Debug("Ignore new record, already exists", "id", node.ID().String(), + log.Trace("Ignore new record, already exists", "id", node.ID().String(), "ip", node.IP().String(), "udp", node.UDP(), "tcp", node.TCP()) continue } |