| 114 | } |
| 115 | |
| 116 | void BanMan::Discourage(const CNetAddr& net_addr) |
| 117 | { |
| 118 | LOCK(m_cs_banned); |
| 119 | m_discouraged.insert(net_addr.GetAddrBytes()); |
| 120 | } |
| 121 | |
| 122 | void BanMan::Ban(const CSubNet& sub_net, int64_t ban_time_offset, bool since_unix_epoch) |
| 123 | { |