Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsIPv4
Method
IsIPv4
src/netaddress.cpp:318–318 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
316
}
317
318
bool CNetAddr::IsIPv4() const { return m_net == NET_IPV4; }
319
320
bool CNetAddr::IsIPv6() const { return m_net == NET_IPV6; }
321
Callers
5
CSubNet
Method · 0.80
ThreadOpenConnections
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
no outgoing calls
Tested by
3
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64