Switch DNSSeed-needed metric to any-automatic-nodes, not services
This commit is contained in:
parent
5ee88b4bde
commit
15f5d3b172
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue