Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ IsRFC3849
Method
IsRFC3849
src/netaddress.cpp:352–355 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
350
}
351
352
bool CNetAddr::IsRFC3849() const
353
{
354
return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 4>{0x20, 0x01, 0x0D, 0xB8});
355
}
356
357
bool CNetAddr::IsRFC3964() const
358
{
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