MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / IsHeNet

Method IsHeNet

src/netaddress.cpp:393–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393bool CNetAddr::IsHeNet() const
394{
395 return IsIPv6() && HasPrefix(m_addr, std::array<uint8_t, 4>{0x20, 0x01, 0x04, 0x70});
396}
397
398bool CNetAddr::IsLocal() const
399{

Callers 1

GetGroupMethod · 0.80

Calls 2

IsIPv6Function · 0.85
HasPrefixFunction · 0.85

Tested by

no test coverage detected