Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsRFC4862
Method
IsRFC4862
src/netaddress.cpp:374–378 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
372
}
373
374
bool CNetAddr::IsRFC4862() const
375
{
376
return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 8>{0xFE, 0x80, 0x00, 0x00,
377
0x00, 0x00, 0x00, 0x00});
378
}
379
380
bool CNetAddr::IsRFC4193() const
381
{
Callers
2
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