import os

CONFIG_DIR = "config"
ENODE_DIR = "enode"
DATABASE_DIR = "databases"
KEY_DIR = os.path.join(CONFIG_DIR, "keys")

KEYSTORE_FILE_NAME = "account.json"
LEGACY_KEYSTORE_FILE_NAME_PATTERN = "UTC-*"
PASSWORD_FILE_NAME = "<PASSWORD>"

PASSWORD_FILE_PATH = os.path.join(CONFIG_DIR, PASSWORD_FILE_NAME)
ADDRESS_FILE_PATH = os.path.join(CONFIG_DIR, "address")
AUTHOR_ADDRESS_FILE_PATH = os.path.join(CONFIG_DIR, "author-address")

NETSTATS_ENV_FILE_PATH = "netstats-env"

BRIDGE_CONFIG_FILE_EXTERNAL = "bridge-config.toml"
BRIDGE_DOCUMENTATION_URL = (
    "https://github.com/trustlines-protocol/blockchain/tree/master/bridge"
)

MONITOR_DIR = "monitor"
MONITOR_REPORTS_DIR = os.path.join(MONITOR_DIR, "reports")

SHARED_CHAIN_SPEC_PATH = "shared/trustlines-spec.json"

import os

CONFIG_DIR = "config"
ENODE_DIR = "enode"
DATABASE_DIR = "databases"
KEY_DIR = os.path.join(CONFIG_DIR, "keys")

KEYSTORE_FILE_NAME = "account.json"
LEGACY_KEYSTORE_FILE_NAME_PATTERN = "UTC-*"
PASSWORD_FILE_NAME = "<PASSWORD>"

PASSWORD_FILE_PATH = os.path.join(CONFIG_DIR, PASSWORD_FILE_NAME)
ADDRESS_FILE_PATH = os.path.join(CONFIG_DIR, "address")
AUTHOR_ADDRESS_FILE_PATH = os.path.join(CONFIG_DIR, "author-address")

NETSTATS_ENV_FILE_PATH = "netstats-env"

BRIDGE_CONFIG_FILE_EXTERNAL = "bridge-config.toml"
BRIDGE_DOCUMENTATION_URL = (
    "https://github.com/trustlines-protocol/blockchain/tree/master/bridge"
)

MONITOR_DIR = "monitor"
MONITOR_REPORTS_DIR = os.path.join(MONITOR_DIR, "reports")

SHARED_CHAIN_SPEC_PATH = "shared/trustlines-spec.json"
