|
|
@ -256,6 +256,7 @@ TestingSetup::TestingSetup(
|
|
|
|
m_node.connman = std::make_unique<ConnmanTestMsg>(0x1337, 0x1337, *m_node.addrman, *m_node.netgroupman, Params()); // Deterministic randomness for tests.
|
|
|
|
m_node.connman = std::make_unique<ConnmanTestMsg>(0x1337, 0x1337, *m_node.addrman, *m_node.netgroupman, Params()); // Deterministic randomness for tests.
|
|
|
|
PeerManager::Options peerman_opts;
|
|
|
|
PeerManager::Options peerman_opts;
|
|
|
|
ApplyArgsManOptions(*m_node.args, peerman_opts);
|
|
|
|
ApplyArgsManOptions(*m_node.args, peerman_opts);
|
|
|
|
|
|
|
|
peerman_opts.deterministic_rng = true;
|
|
|
|
m_node.peerman = PeerManager::make(*m_node.connman, *m_node.addrman,
|
|
|
|
m_node.peerman = PeerManager::make(*m_node.connman, *m_node.addrman,
|
|
|
|
m_node.banman.get(), *m_node.chainman,
|
|
|
|
m_node.banman.get(), *m_node.chainman,
|
|
|
|
*m_node.mempool, peerman_opts);
|
|
|
|
*m_node.mempool, peerman_opts);
|
|
|
|