MCPcopy Create free account
hub / github.com/ElementsProject/elements / AddTestNode

Method AddTestNode

src/test/util/net.h:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25 }
26
27 void AddTestNode(CNode& node)
28 {
29 LOCK(m_nodes_mutex);
30 m_nodes.push_back(&node);
31 }
32 void ClearTestNodes()
33 {
34 LOCK(m_nodes_mutex);

Callers 4

AddRandomOutboundPeerFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
fuzz_targetFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected