| 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 | { |
| 1212 | LOCK(cs); |
| 1213 | Check(); |
| 1214 | auto addresses = GetAddr_(max_addresses, max_pct, network, filtered); |
| 1215 | Check(); |
| 1216 | return addresses; |
| 1217 | } |
| 1218 | |
| 1219 | std::vector<std::pair<AddrInfo, AddressPosition>> AddrManImpl::GetEntries(bool from_tried) const |
| 1220 | { |