WIP: Add support for tor using PySocks and optionally stem #2

Draft
lee.miller wants to merge 22 commits from lee.miller/MiNode:tor into v0.3
2 changed files with 3 additions and 1 deletions
Showing only changes of commit c342fb0156 - Show all commits

View File

@ -286,7 +286,7 @@ def main():
tor = None
else:
if not tor.start_tor_service():
logging.warning('Failed to start tor service.')
logging.warning('The tor service has hot started.')
tor = None
if not tor:
try:

View File

@ -68,6 +68,8 @@ def start_tor_service():
init_msg_handler=logwrite)
except OSError:
if not attempt:
if not shared.listen_for_connections:
return
try:
stem.version.get_system_tor_version()
except IOError: