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

Function GetNameProxy

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

Source from the content-addressed store, hash-verified

742}
743
744std::optional<Proxy> GetNameProxy()
745{
746 LOCK(g_proxyinfo_mutex);
747 if (!nameProxy.IsValid()) {
748 return std::nullopt;
749 }
750 return nameProxy;
751}
752
753bool HaveNameProxy() {
754 LOCK(g_proxyinfo_mutex);

Callers 1

ConnectNodeMethod · 0.85

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected