MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / GetNetworkName

Function GetNetworkName

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

Source from the content-addressed store, hash-verified

49}
50
51std::string GetNetworkName(enum Network net) {
52 switch(net)
53 {
54 case NET_IPV4: return "ipv4";
55 case NET_IPV6: return "ipv6";
56 case NET_ONION: return "onion";
57 default: return "";
58 }
59}
60
61bool static LookupIntern(const char *pszName, std::vector<CNetAddr>& vIP, unsigned int nMaxSolutions, bool fAllowLookup)
62{

Callers 1

GetNetworksInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected