MCPcopy Create free account
hub / github.com/HelloZeroNet/ZeroNet / connect

Method connect

src/Tor/TorManager.py:130–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

128 self.log.error("Error stopping Tor: %s" % err)
129
130 def connect(self):
131 if not self.enabled:
132 return False
133 self.site_onions = {}
134 self.privatekeys = {}
135
136 return self.connectController()
137
138 def connectController(self):
139 if "socket_noproxy" in dir(socket): # Socket proxy-patched, use non-proxy one

Callers 7

startMethod · 0.95
startTorMethod · 0.95
requestMethod · 0.95
sendMethod · 0.95
connectControllerMethod · 0.45
getDataFunction · 0.45
ZeroFrameFunction · 0.45

Calls 1

connectControllerMethod · 0.95

Tested by

no test coverage detected