diff options
author | Sonic <sonic@dexon.org> | 2019-04-02 19:00:34 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:06 +0800 |
commit | 722d16e6ef1684dcd3df854e02bd89644a7fa290 (patch) | |
tree | c3feb05bd0e63fce67d7d0ac9861283e4a91e930 /dex | |
parent | eda117879ae0b91d70f0b2abc1e2a959df43e8df (diff) | |
download | dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar.gz dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar.bz2 dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar.lz dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar.xz dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.tar.zst dexon-722d16e6ef1684dcd3df854e02bd89644a7fa290.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 } |