Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsRFC4380
Method
IsRFC4380
src/netaddress.cpp:369–372 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
367
}
368
369
bool CNetAddr::IsRFC4380() const
370
{
371
return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 4>{0x20, 0x01, 0x00, 0x00});
372
}
373
374
bool CNetAddr::IsRFC4862() const
375
{
Callers
3
GetExtNetwork
Function · 0.80
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
1
HasPrefix
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64