Host-customized fork of https://github.com/tecnovert/basicswap/
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.
48 lines
2.5 KiB
48 lines
2.5 KiB
# -*- coding: utf-8 -*- |
|
|
|
# Copyright (c) 2019-2022 tecnovert |
|
# Distributed under the MIT software license, see the accompanying |
|
# file LICENSE or http://www.opensource.org/licenses/mit-license.php. |
|
|
|
import os |
|
|
|
CONFIG_FILENAME = 'basicswap.json' |
|
BASICSWAP_DATADIR = os.getenv('BASICSWAP_DATADIR', '~/.basicswap') |
|
DEFAULT_ALLOW_CORS = False |
|
TEST_DATADIRS = os.path.expanduser(os.getenv('DATADIRS', '/tmp/basicswap')) |
|
DEFAULT_TEST_BINDIR = os.path.expanduser(os.getenv('DEFAULT_TEST_BINDIR', '~/tmp/bin')) |
|
|
|
bin_suffix = ('.exe' if os.name == 'nt' else '') |
|
PARTICL_BINDIR = os.path.expanduser(os.getenv('PARTICL_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'particl'))) |
|
PARTICLD = os.getenv('PARTICLD', 'particld' + bin_suffix) |
|
PARTICL_CLI = os.getenv('PARTICL_CLI', 'particl-cli' + bin_suffix) |
|
PARTICL_TX = os.getenv('PARTICL_TX', 'particl-tx' + bin_suffix) |
|
|
|
BITCOIN_BINDIR = os.path.expanduser(os.getenv('BITCOIN_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'bitcoin'))) |
|
BITCOIND = os.getenv('BITCOIND', 'bitcoind' + bin_suffix) |
|
BITCOIN_CLI = os.getenv('BITCOIN_CLI', 'bitcoin-cli' + bin_suffix) |
|
BITCOIN_TX = os.getenv('BITCOIN_TX', 'bitcoin-tx' + bin_suffix) |
|
|
|
LITECOIN_BINDIR = os.path.expanduser(os.getenv('LITECOIN_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'litecoin'))) |
|
LITECOIND = os.getenv('LITECOIND', 'litecoind' + bin_suffix) |
|
LITECOIN_CLI = os.getenv('LITECOIN_CLI', 'litecoin-cli' + bin_suffix) |
|
LITECOIN_TX = os.getenv('LITECOIN_TX', 'litecoin-tx' + bin_suffix) |
|
|
|
NAMECOIN_BINDIR = os.path.expanduser(os.getenv('NAMECOIN_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'namecoin'))) |
|
NAMECOIND = os.getenv('NAMECOIND', 'namecoind' + bin_suffix) |
|
NAMECOIN_CLI = os.getenv('NAMECOIN_CLI', 'namecoin-cli' + bin_suffix) |
|
NAMECOIN_TX = os.getenv('NAMECOIN_TX', 'namecoin-tx' + bin_suffix) |
|
|
|
XMR_BINDIR = os.path.expanduser(os.getenv('XMR_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'monero'))) |
|
XMRD = os.getenv('XMRD', 'monerod' + bin_suffix) |
|
XMR_WALLET_RPC = os.getenv('XMR_WALLET_RPC', 'monero-wallet-rpc' + bin_suffix) |
|
|
|
PIVX_BINDIR = os.path.expanduser(os.getenv('PIVX_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'pivx'))) |
|
PIVXD = os.getenv('PIVXD', 'pivxd' + bin_suffix) |
|
PIVX_CLI = os.getenv('PIVX_CLI', 'pivx-cli' + bin_suffix) |
|
PIVX_TX = os.getenv('PIVX_TX', 'pivx-tx' + bin_suffix) |
|
|
|
DASH_BINDIR = os.path.expanduser(os.getenv('DASH_BINDIR', os.path.join(DEFAULT_TEST_BINDIR, 'dash'))) |
|
DASHD = os.getenv('DASHD', 'dashd' + bin_suffix) |
|
DASH_CLI = os.getenv('DASH_CLI', 'dash-cli' + bin_suffix) |
|
DASH_TX = os.getenv('DASH_TX', 'dash-tx' + bin_suffix)
|
|
|