MCPcopy 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
615Network 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

BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGET_INITFunction · 0.80

Calls 1

GetNetClassMethod · 0.80

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGET_INITFunction · 0.64