AddrMan::FindAddressEntry

Test-only function Find the address record in AddrMan and return information about its position.

Synopsis

Declared in <addrman.h>

std::optional<AddressPosition>
FindAddressEntry(CAddress const& addr);

Return Value

Information about the address record in AddrMan or nullopt if address is not found.

Parameters

NameDescription
addr [in]The address record to look up.