Returns an information-location pair for all addresses in the selected addrman table. If an address appears multiple times in the new table, an information-location pair is returned for each occurrence. Addresses only ever appear once in the tried table.
Declared in <addrman.h>
std::vector<std::pair<AddrInfo, AddressPosition>>
GetEntries(bool from_tried) const;
A vector consisting of pairs of AddrInfo and AddressPosition.
| Name | Description |
|---|---|
| from_tried [in] | Selects which table to return entries from. |