| 162 | return false; |
| 163 | } |
| 164 | bool unban(const CSubNet& ip) override |
| 165 | { |
| 166 | if (m_context->banman) { |
| 167 | m_context->banman->Unban(ip); |
| 168 | return true; |
| 169 | } |
| 170 | return false; |
| 171 | } |
| 172 | bool disconnectByAddress(const CNetAddr& net_addr) override |
| 173 | { |
| 174 | if (m_context->connman) { |
no test coverage detected