| 122 | } |
| 123 | |
| 124 | void BanMan::Discourage(const CNetAddr& net_addr) |
| 125 | { |
| 126 | LOCK(m_banned_mutex); |
| 127 | m_discouraged.insert(net_addr.GetAddrBytes()); |
| 128 | } |
| 129 | |
| 130 | void BanMan::Ban(const CSubNet& sub_net, int64_t ban_time_offset, bool since_unix_epoch) |
| 131 | { |
no test coverage detected