Return size information about addrman.
Declared in <addrman.h>
size_t
Size(
std::optional<Network> net = std::nullopt,
std::optional<bool> in_new = std::nullopt) const;
Number of unique addresses that match specified options.
| Name | Description |
|---|---|
| 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) |