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

Return size information about addrman&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
size&lowbar;t
Size(
    std::optional&lt;Network&gt; net = std&colon;&colon;nullopt,
    std::optional&lt;bool&gt; in&lowbar;new = std&colon;&colon;nullopt) const;
----

== Return Value

Number of unique addresses that match specified options&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *net* [in]
| Select addresses only from specified network (nullopt &equals; all)
| *in&lowbar;new* [in]
| Select addresses only from one table (true &equals; new, false &equals; tried, nullopt &equals; both)
|===


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