Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BTCGPU/BTCGPU
/ IsIPv4
Method
IsIPv4
src/netaddress.cpp:85–88 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
83
}
84
85
bool CNetAddr::IsIPv4() const
86
{
87
return (memcmp(ip, pchIPv4, sizeof(pchIPv4)) == 0);
88
}
89
90
bool CNetAddr::IsIPv6() const
91
{
Callers
3
CSubNet
Method · 0.80
ToString
Method · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
Calls
no outgoing calls
Tested by
1
BOOST_AUTO_TEST_CASE
Function · 0.64