diff options
author | Sonic <sonic@dexon.org> | 2019-04-02 19:00:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 66c5de46f2a18aae704b11059ee55c4ca3b21bd4 (patch) | |
tree | 66b550cf3c813ff278535b715076865400511a6f /dex | |
parent | 37257d9e7981661d3f19eae5ea5d49bcedea3698 (diff) | |
download | dexon-66c5de46f2a18aae704b11059ee55c4ca3b21bd4.tar.gz dexon-66c5de46f2a18aae704b11059ee55c4ca3b21bd4.tar.zst dexon-66c5de46f2a18aae704b11059ee55c4ca3b21bd4.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 } |