| 1199 | } |
| 1200 | |
| 1201 | std::pair<CAddress, NodeSeconds> AddrManImpl::Select(bool new_only, const std::unordered_set<Network>& networks) const |
| 1202 | { |
| 1203 | LOCK(cs); |
| 1204 | Check(); |
| 1205 | auto addrRet = Select_(new_only, networks); |
| 1206 | Check(); |
| 1207 | return addrRet; |
| 1208 | } |
| 1209 | |
| 1210 | std::vector<CAddress> AddrManImpl::GetAddr(size_t max_addresses, size_t max_pct, std::optional<Network> network, const bool filtered) const |
| 1211 | { |