@@ -2394,8 +2394,8 @@ void PeerManager::ProcessMessage(CNode& pfrom, const std::string& msg_type, CDat
2394
2394
// empty and no one will know who we are, so these mechanisms are
2395
2395
// important to help us connect to the network.
2396
2396
//
2397
- // We skip this for BLOCK_RELAY peers to avoid potentially leaking
2398
- // information about our BLOCK_RELAY connections via address relay.
2397
+ // We skip this for block-relay-only peers to avoid potentially leaking
2398
+ // information about our block-relay-only connections via address relay.
2399
2399
if (fListen && !::ChainstateActive ().IsInitialBlockDownload ())
2400
2400
{
2401
2401
CAddress addr = GetLocalAddress (&pfrom.addr , pfrom.GetLocalServices ());
@@ -3963,10 +3963,10 @@ void PeerManager::EvictExtraOutboundPeers(int64_t time_in_seconds)
3963
3963
});
3964
3964
}
3965
3965
3966
- // Check whether we have too many OUTBOUND_FULL_RELAY peers
3966
+ // Check whether we have too many outbound-full-relay peers
3967
3967
if (m_connman.GetExtraFullOutboundCount () > 0 ) {
3968
- // If we have more OUTBOUND_FULL_RELAY peers than we target, disconnect one.
3969
- // Pick the OUTBOUND_FULL_RELAY peer that least recently announced
3968
+ // If we have more outbound-full-relay peers than we target, disconnect one.
3969
+ // Pick the outbound-full-relay peer that least recently announced
3970
3970
// us a new block, with ties broken by choosing the more recent
3971
3971
// connection (higher node id)
3972
3972
NodeId worst_peer = -1 ;
@@ -3975,7 +3975,7 @@ void PeerManager::EvictExtraOutboundPeers(int64_t time_in_seconds)
3975
3975
m_connman.ForEachNode ([&](CNode* pnode) EXCLUSIVE_LOCKS_REQUIRED (::cs_main) {
3976
3976
AssertLockHeld (::cs_main);
3977
3977
3978
- // Only consider OUTBOUND_FULL_RELAY peers that are not already
3978
+ // Only consider outbound-full-relay peers that are not already
3979
3979
// marked for disconnection
3980
3980
if (!pnode->IsFullOutboundConn () || pnode->fDisconnect ) return ;
3981
3981
CNodeState *state = State (pnode->GetId ());
0 commit comments