Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoinxt/bitcoinxt
/ IsIPv4
Method
IsIPv4
src/netbase.cpp:703–706 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
701
}
702
703
bool CNetAddr::IsIPv4() const
704
{
705
return (memcmp(ip, pchIPv4, sizeof(pchIPv4)) == 0);
706
}
707
708
bool CNetAddr::IsIPv6() const
709
{
Callers
4
CSubNet
Method · 0.80
ToString
Method · 0.80
BOOST_FOREACH
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
Calls
no outgoing calls
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.64