| 85 | } |
| 86 | |
| 87 | void ProtectNoBanConnections(std::vector<NodeEvictionCandidate>& eviction_candidates) |
| 88 | { |
| 89 | eviction_candidates.erase(std::remove_if(eviction_candidates.begin(), eviction_candidates.end(), |
| 90 | [](NodeEvictionCandidate const& n) { |
| 91 | return n.m_noban; |
| 92 | }), |
| 93 | eviction_candidates.end()); |
| 94 | } |
| 95 | |
| 96 | void ProtectOutboundConnections(std::vector<NodeEvictionCandidate>& eviction_candidates) |
| 97 | { |
no test coverage detected