[#CConnman-2constructor] = xref:CConnman.adoc[CConnman]::CConnman :relfileprefix: ../ :mrdocs: Construct a connection manager with the given randomness seeds and dependencies. == Synopsis Declared in `<net.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CConnman( uint64_t seed0, uint64_t seed1, xref:AddrMan.adoc[AddrMan]& addrman, xref:NetGroupManager.adoc[NetGroupManager] const& netgroupman, xref:CChainParams.adoc[CChainParams] const& params, bool network_active = true, std::shared_ptr<CThreadInterrupt> interrupt_net = std::make_shared<CThreadInterrupt>()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *seed0* | first half of the seed for deterministic randomizers. | *seed1* | second half of the seed for deterministic randomizers. | *addrman* | the address manager used to select and store peer addresses. | *netgroupman* | the network group manager used for peer bucketing. | *params* | the chain parameters currently in use. | *network_active* | whether networking starts out active. | *interrupt_net* | interrupt used to unblock and shut down network operations. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#