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

Function ThreadGetMyPublicIP

src/net.cpp:346–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

344}
345
346void ThreadGetMyPublicIP() {
347 CNetAddr addrLocalHost;
348 if (GetMyPublicIP(addrLocalHost)) {
349 AddLocal(addrLocalHost, LOCAL_HTTP);
350 }
351}
352
353bool PostNodeInfo() {
354 if (ipHost == "")

Callers

nothing calls this directly

Calls 2

GetMyPublicIPFunction · 0.85
AddLocalFunction · 0.85

Tested by

no test coverage detected