Onionr/src/coredb/dbfiles.py

12 lines
462 B
Python
Raw Normal View History

from utils import identifyhome
2019-07-20 06:02:30 +00:00
import filepaths
home = identifyhome.identify_home()
if not home.endswith('/'): home += '/'
2019-07-20 06:02:30 +00:00
block_meta_db = '%sblock-metadata.db' % (home)
block_data_db = '%s/block-data.db' % (filepaths.block_data_location,)
2019-07-17 22:41:33 +00:00
daemon_queue_db = '%sdaemon-queue.db' % (home,)
address_info_db = '%saddress.db' % (home,)
user_id_info_db = '%susers.db' % (home,)
2019-07-19 19:49:56 +00:00
forward_keys_db = '%sforward-keys.db' % (home,)
blacklist_db = '%sblacklist.db' % (home,)