AddrMan::GetEntries

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.

Synopsis

Declared in <addrman.h>

std::vector<std::pair<AddrInfo, AddressPosition>>
GetEntries(bool from_tried) const;

Return Value

A vector consisting of pairs of AddrInfo and AddressPosition.

Parameters

NameDescription
from_tried [in]Selects which table to return entries from.