[#AddrMan-GetEntries]
= xref:AddrMan.adoc[AddrMan]::GetEntries
:relfileprefix: ../
:mrdocs:

Returns an information&hyphen;location pair for all addresses in the selected addrman table&period; If an address appears multiple times in the new table, an information&hyphen;location pair is returned for each occurrence&period; Addresses only ever appear once in the tried table&period;

== Synopsis

Declared in `&lt;addrman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::vector&lt;std::pair&lt;AddrInfo, AddressPosition&gt;&gt;
GetEntries(bool from&lowbar;tried) const;
----

== Return Value

A vector consisting of pairs of AddrInfo and AddressPosition&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *from&lowbar;tried* [in]
| Selects which table to return entries from&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
