Construct a connection manager with the given randomness seeds and dependencies.
Synopsis
Declared in <net.h>
CConnman(
uint64_t seed0,
uint64_t seed1,
AddrMan& addrman,
NetGroupManager const& netgroupman,
CChainParams const& params,
bool network_active = true,
std::shared_ptr<CThreadInterrupt> interrupt_net = std::make_shared<CThreadInterrupt>());
Parameters
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. |
Created with MrDocs