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

Function IsProxy

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

Source from the content-addressed store, hash-verified

756}
757
758bool IsProxy(const CNetAddr &addr) {
759 LOCK(g_proxyinfo_mutex);
760 for (int i = 0; i < NET_MAX; i++) {
761 if (addr == static_cast<CNetAddr>(proxyInfo[i].proxy))
762 return true;
763 }
764 return false;
765}
766
767/**
768 * Generate unique credentials for Tor stream isolation. Tor will create

Callers 1

PushNodeVersionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected