Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ ConnectedThroughNetwork
Method
ConnectedThroughNetwork
src/net.cpp:615–618 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
613
}
614
615
Network CNode::ConnectedThroughNetwork() const
616
{
617
return m_inbound_onion ? NET_ONION : addr.GetNetClass();
618
}
619
620
#undef X
621
#define X(name) stats.name = name
Callers
3
AttemptToEvictConnection
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET_INIT
Function · 0.80
Calls
1
GetNetClass
Method · 0.80
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET_INIT
Function · 0.64