aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-04-02 19:00:34 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:59 +0800
commit66c5de46f2a18aae704b11059ee55c4ca3b21bd4 (patch)
tree66b550cf3c813ff278535b715076865400511a6f /dex
parent37257d9e7981661d3f19eae5ea5d49bcedea3698 (diff)
downloaddexon-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.go2
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
}