Private Decentralized Communication Network
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 lines
1.1 KiB

  1. from utils import identifyhome
  2. import os
  3. home = identifyhome.identify_home()
  4. if not home.endswith('/'): home += '/'
  5. app_root = os.path.dirname(os.path.realpath(__file__)) + '/../../'
  6. usage_file = home + 'disk-usage.txt'
  7. block_data_location = home + 'blocks/'
  8. contacts_location = home + 'contacts/'
  9. public_API_host_file = home + 'public-host.txt'
  10. private_API_host_file = home + 'private-host.txt'
  11. bootstrap_file_location = 'static-data/bootstrap-nodes.txt'
  12. data_nonce_file = home + 'block-nonces.dat'
  13. forward_keys_file = home + 'forward-keys.db'
  14. cached_storage = home + 'cachedstorage.dat'
  15. announce_cache = home + 'announcecache.dat'
  16. export_location = home + 'block-export/'
  17. upload_list = home + 'upload-list.json'
  18. config_file = home + 'config.json'
  19. daemon_mark_file = app_root + '/daemon-true.txt'
  20. lock_file = home + 'onionr.lock'
  21. site_cache = home + 'onionr-sites.txt'
  22. tor_hs_loc = home + 'hs/'
  23. tor_hs_address_file = home + 'hs/hostname'
  24. run_check_file = home + '.runcheck'
  25. data_nonce_file = home + 'block-nonces.dat'
  26. keys_file = home + 'keys.txt'
  27. onboarding_mark_file = home + 'onboarding-completed'
  28. log_file = home + 'onionr.log'