AddrMan::AddrMan

Constructs an address manager over the given network group mapping.

Synopsis

Declared in <addrman.h>

explicit
AddrMan(
    NetGroupManager const& netgroupman,
    bool deterministic,
    int32_t consistency_check_ratio);

Parameters

NameDescription
netgroupmanMaps addresses to network groups for bucketing.
deterministicIf true, use a fixed key/nonce for reproducible tests.
consistency_check_ratioHow often to run internal consistency checks (0 disables).