| 1165 | } |
| 1166 | |
| 1167 | bool AddrManImpl::Good(const CService& addr, NodeSeconds time) |
| 1168 | { |
| 1169 | LOCK(cs); |
| 1170 | Check(); |
| 1171 | auto ret = Good_(addr, /*test_before_evict=*/true, time); |
| 1172 | Check(); |
| 1173 | return ret; |
| 1174 | } |
| 1175 | |
| 1176 | void AddrManImpl::Attempt(const CService& addr, bool fCountFailure, NodeSeconds time) |
| 1177 | { |