Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ IsRFC2544
Method
IsRFC2544
src/netaddress.cpp:319–322 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
317
}
318
319
bool CNetAddr::IsRFC2544() const
320
{
321
return IsIPv4() && m_addr[0] == 198 && (m_addr[1] == 18 || m_addr[1] == 19);
322
}
323
324
bool CNetAddr::IsRFC3927() const
325
{
Callers
2
BOOST_AUTO_TEST_CASE
Function · 0.80
FUZZ_TARGET
Function · 0.80
Calls
1
IsIPv4
Function · 0.85
Tested by
2
BOOST_AUTO_TEST_CASE
Function · 0.64
FUZZ_TARGET
Function · 0.64