MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / SetIP

Method SetIP

src/netbase.cpp:566–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564void CNetAddr::Init() { memset(ip, 0, sizeof(ip)); }
565
566void CNetAddr::SetIP(const CNetAddr& ipIn) { memcpy(ip, ipIn.ip, sizeof(ip)); }
567
568static const unsigned char pchOnionCat[] = {0xFD, 0x87, 0xD8, 0x7E, 0xEB, 0x43};
569

Callers 1

GetMyPublicIPFunction · 0.80

Calls 1

memcpyFunction · 0.85

Tested by

no test coverage detected