Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsRFC3927
Method
IsRFC3927
src/netaddress.cpp:335–338 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
333
}
334
335
bool CNetAddr::IsRFC3927() const
336
{
337
return IsIPv4() && HasPrefix(m_addr, std::array<uint8_t, 2>{169, 254});
338
}
339
340
bool CNetAddr::IsRFC6598() const
341
{
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