diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2019-03-01 16:15:50 -0500 |
---|---|---|
committer | Suhas Daftuar <sdaftuar@gmail.com> | 2019-03-01 16:15:50 -0500 |
commit | 20e6ea259b222b10f066f22695a5f56c52071f63 (patch) | |
tree | a4a6005b5f8198335fba4f2fd7301c3f7b563b5b /src/net.cpp | |
parent | f71fdda3bc2e7acd2a8b74e882364866b8b0f55b (diff) |
[addrman] Improve collision logging and address nits
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net.cpp b/src/net.cpp index 3f87dc6357..ccab4a1718 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1765,12 +1765,12 @@ void CConnman::ThreadOpenConnections(const std::vector<std::string> connect) addr = addrman.Select(fFeeler); } - // Require outbound connections to be to distinct network groups + // Require outbound connections, other than feelers, to be to distinct network groups if (!fFeeler && setConnected.count(addr.GetGroup())) { break; } - // if we selected an invalid address, restart + // if we selected an invalid or local address, restart if (!addr.IsValid() || IsLocal(addr)) { break; } |