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

Constructs an address manager over the given network group mapping&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
AddrMan(
    xref:NetGroupManager.adoc[NetGroupManager] const& netgroupman,
    bool deterministic,
    int32&lowbar;t consistency&lowbar;check&lowbar;ratio);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *netgroupman*
| Maps addresses to network groups for bucketing&period;
| *deterministic*
| If true, use a fixed key&sol;nonce for reproducible tests&period;
| *consistency&lowbar;check&lowbar;ratio*
| How often to run internal consistency checks (0 disables)&period;
|===


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