diff options
author | Matt Corallo <git@bluematt.me> | 2017-10-06 17:27:56 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-10-13 13:29:25 -0400 |
commit | 15f5d3b17298be96c6c684c195c02ac249ffd392 (patch) | |
tree | 7b4cc495640f42050777c3b175ff9cb85752e40f /src/net.cpp | |
parent | 5ee88b4bdefecbf03b6883b2a6b56a44ec75167d (diff) |
Switch DNSSeed-needed metric to any-automatic-nodes, not services
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 3e82969a15..258599747a 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1601,7 +1601,7 @@ void CConnman::ThreadDNSAddressSeed() LOCK(cs_vNodes); int nRelevant = 0; for (auto pnode : vNodes) { - nRelevant += pnode->fSuccessfullyConnected && HasAllDesirableServiceFlags(pnode->nServices); + nRelevant += pnode->fSuccessfullyConnected && !pnode->fFeeler && !pnode->fOneShot && !pnode->m_manual_connection && !pnode->fInbound; } if (nRelevant >= 2) { LogPrintf("P2P peers available. Skipped DNS seeding.\n"); |