Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
AddRandomOutboundPeer
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
fuzz_target
Function · 0.80
FUZZ_TARGET_INIT
Function · 0.80
Calls
1
push_back
Method · 0.45
Tested by
no test coverage detected