Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ IsRFC4380
Method
IsRFC4380
src/netaddress.cpp:358–361 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
356
}
357
358
bool CNetAddr::IsRFC4380() const
359
{
360
return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 4>{0x20, 0x01, 0x00, 0x00});
361
}
362
363
bool CNetAddr::IsRFC4862() const
364
{
Callers
4
GetExtNetwork
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
2
IsIPv6
Function · 0.85
HasPrefix
Function · 0.85
Tested by
3
BOOST_AUTO_TEST_CASE
Function · 0.64
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64