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

Method IsRFC6145

src/netaddress.cpp:374–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372}
373
374bool CNetAddr::IsRFC6145() const
375{
376 return IsIPv6() &&
377 HasPrefix(m_addr, std::array<uint8_t, 12>{0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
378 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00});
379}
380
381bool CNetAddr::IsRFC4843() const
382{

Callers 1

FUZZ_TARGETFunction · 0.80

Calls 2

IsIPv6Function · 0.85
HasPrefixFunction · 0.85

Tested by 1

FUZZ_TARGETFunction · 0.64