| 2187 | } |
| 2188 | |
| 2189 | std::vector<CAddress> CConnman::GetCurrentBlockRelayOnlyConns() const |
| 2190 | { |
| 2191 | std::vector<CAddress> ret; |
| 2192 | LOCK(m_nodes_mutex); |
| 2193 | for (const CNode* pnode : m_nodes) { |
| 2194 | if (pnode->IsBlockOnlyConn()) { |
| 2195 | ret.push_back(pnode->addr); |
| 2196 | } |
| 2197 | } |
| 2198 | |
| 2199 | return ret; |
| 2200 | } |
| 2201 | |
| 2202 | std::vector<AddedNodeInfo> CConnman::GetAddedNodeInfo() const |
| 2203 | { |
nothing calls this directly
no test coverage detected