Removed support for v2 onions

This commit is contained in:
Kevin Froman 2020-03-26 03:48:57 -05:00
parent 922f2be235
commit 62b4f5eb0e
3 changed files with 2 additions and 8 deletions

View file

@ -17,13 +17,11 @@ def generate_torrc(net_controller, api_server_ip):
Generate a torrc file for our tor instance
"""
socks_port = net_controller.socksPort
hs_ver = '# v2 onions'
hs_port = net_controller.hsPort
home_dir = identifyhome.identify_home()
tor_config_location = home_dir + '/torrc'
if config.get('tor.v3onions'):
hs_ver = 'HiddenServiceVersion 3'
hs_ver = 'HiddenServiceVersion 3'
"""
Set the Tor control password.