Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
744
std::optional<Proxy> GetNameProxy()
745
{
746
LOCK(g_proxyinfo_mutex);
747
if (!nameProxy.IsValid()) {
748
return std::nullopt;
749
}
750
return nameProxy;
751
}
752
753
bool HaveNameProxy() {
754
LOCK(g_proxyinfo_mutex);
Callers
1
ConnectNode
Method · 0.85
Calls
1
IsValid
Method · 0.45
Tested by
no test coverage detected