From 66c5de46f2a18aae704b11059ee55c4ca3b21bd4 Mon Sep 17 00:00:00 2001 From: Sonic Date: Tue, 2 Apr 2019 19:00:34 +0800 Subject: 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 --- dex/nodetable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dex') 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 } -- cgit v1.2.3