AddrMan::Size

Return size information about addrman.

Synopsis

Declared in <addrman.h>

size_t
Size(
    std::optional<Network> net = std::nullopt,
    std::optional<bool> in_new = std::nullopt) const;

Return Value

Number of unique addresses that match specified options.

Parameters

NameDescription
net [in]Select addresses only from specified network (nullopt = all)
in_new [in]Select addresses only from one table (true = new, false = tried, nullopt = both)