Onionr/onionr/filepaths/__init__.py

15 lines
510 B
Python
Raw Normal View History

2019-07-18 05:11:52 +00:00
from utils import identifyhome
home = identifyhome.identify_home()
2019-07-18 17:40:48 +00:00
if not home.endswith('/'): home += '/'
2019-07-18 05:11:52 +00:00
usage_file = home + 'disk-usage.txt'
block_data_location = home + 'blocks/'
public_API_host_file = home + 'public-host.txt'
private_API_host_file = home + 'private-host.txt'
bootstrap_file_location = 'static-data/bootstrap-nodes.txt'
data_nonce_file = home + 'block-nonces.dat'
2019-07-18 17:40:48 +00:00
forward_keys_file = home + 'forward-keys.db'
tor_hs_address_file = home + 'hs/hostname'
run_check_file = home + '.runcheck'