| 1072 | } |
| 1073 | |
| 1074 | bool AddrManImpl::Good(const CService& addr, int64_t nTime) |
| 1075 | { |
| 1076 | LOCK(cs); |
| 1077 | Check(); |
| 1078 | auto ret = Good_(addr, /*test_before_evict=*/true, nTime); |
| 1079 | Check(); |
| 1080 | return ret; |
| 1081 | } |
| 1082 | |
| 1083 | void AddrManImpl::Attempt(const CService& addr, bool fCountFailure, int64_t nTime) |
| 1084 | { |