<?php

// default values if local server config keys are not set (also used to add defines in git)
// do not change them here... set them in your serverconfig.php

if (!defined('VEXON_PRODUCTION')) define('VEXON_PRODUCTION', false);
if (!defined('VEXON_USE_NGINX')) define('VEXON_USE_NGINX', false);

if (!defined('VEXON_DBHOST')) define('VEXON_DBHOST', 'localhost');
if (!defined('VEXON_DBNAME')) define('VEXON_DBNAME', 'vexon');
if (!defined('VEXON_DBUSER')) define('VEXON_DBUSER', 'root');
if (!defined('VEXON_DBPASSWORD')) define('VEXON_DBPASSWORD', '');

if (!defined('VEXON_MYSQLDUMP_PATH')) define('VEXON_MYSQLDUMP_PATH', '/root/backup');

if (!defined('VEXON_PUBLIC_EXPLORER')) define('VEXON_PUBLIC_EXPLORER', true);
if (!defined('VEXON_PUBLIC_BENCHMARK')) define('VEXON_PUBLIC_BENCHMARK', false);
if (!defined('VEXON_FIAT_ALTERNATIVE')) define('VEXON_FIAT_ALTERNATIVE', 'EUR');
if (!defined('VEXON_KWH_USD_PRICE')) define('VEXON_KWH_USD_PRICE', 0.25);

if (!defined('VEXON_FEES_MINING')) define('VEXON_FEES_MINING', 0.5);
if (!defined('VEXON_FEES_EXCHANGE')) define('VEXON_FEES_EXCHANGE', 2);
if (!defined('VEXON_FEES_RENTING')) define('VEXON_FEES_RENTING', 2);
if (!defined('VEXON_TXFEE_RENTING_WD')) define('VEXON_TXFEE_RENTING_WD', 0.002);
if (!defined('VEXON_PAYMENTS_FREQ')) define('VEXON_PAYMENTS_FREQ', 24*60*60);
if (!defined('VEXON_PAYMENTS_MINI')) define('VEXON_PAYMENTS_MINI', 0.001);
if (!defined('VEXON_PAYOUT_FIXED_TIME')) define('VEXON_PAYOUT_FIXED_TIME', true);
if (!defined('VEXON_PAYOUT_HOUR')) define('VEXON_PAYOUT_HOUR', 8);
if (!defined('VEXON_PAYOUT_MINUTE')) define('VEXON_PAYOUT_MINUTE', 0);
if (!defined('VEXON_PAYOUT_TIMEZONE')) define('VEXON_PAYOUT_TIMEZONE', 'Asia/Shanghai');
if (!defined('VEXON_PAYOUT_SCHEDULE_LABEL')) define('VEXON_PAYOUT_SCHEDULE_LABEL', 'Daily at 08:00 CST');
if (!defined('VEXON_PAYOUT_NOTE')) define('VEXON_PAYOUT_NOTE', 'Balances above the minimum are paid after block maturity.');
if (!defined('VEXON_OFFICIAL_URL')) define('VEXON_OFFICIAL_URL', 'https://vexon.vexonus.com');
if (!defined('VEXON_WALLET_URL')) define('VEXON_WALLET_URL', 'https://wallet.vexonus.com');
if (!defined('VEXON_DOCS_URL')) define('VEXON_DOCS_URL', 'https://docs.vexonus.com');
if (!defined('VEXON_DEFAULT_ESTIMATE_THS')) define('VEXON_DEFAULT_ESTIMATE_THS', 40);
if (!defined('VEXON_BLOCK_REWARD_ESTIMATE')) define('VEXON_BLOCK_REWARD_ESTIMATE', 50);
if (!defined('VEXON_BLOCK_TIME_ESTIMATE')) define('VEXON_BLOCK_TIME_ESTIMATE', 300);
if (!defined('VEXON_WALLET_RPC_HOST')) define('VEXON_WALLET_RPC_HOST', '127.0.0.1');
if (!defined('VEXON_WALLET_RPC_PORT')) define('VEXON_WALLET_RPC_PORT', 18557);
if (!defined('VEXON_WALLET_RPC_USER')) define('VEXON_WALLET_RPC_USER', '');
if (!defined('VEXON_WALLET_RPC_PASSWORD')) define('VEXON_WALLET_RPC_PASSWORD', '');
if (!defined('VEXON_WEB_WALLET_ADDRESS_BOOK')) define('VEXON_WEB_WALLET_ADDRESS_BOOK', (defined('VEXON_LOGS') ? VEXON_LOGS : sys_get_temp_dir()).'/web-wallet-addresses.json');

if (!defined('VEXON_ALLOW_EXCHANGE')) define('VEXON_ALLOW_EXCHANGE', false);
if (!defined('EXCH_AUTO_WITHDRAW')) define('EXCH_AUTO_WITHDRAW', 9999.9999);

if (!defined('EXCH_BINANCE_KEY')) define('EXCH_BINANCE_KEY', '');
if (!defined('EXCH_BITTREX_KEY')) define('EXCH_BITTREX_KEY', '');
if (!defined('EXCH_BITSTAMP_ID')) define('EXCH_BITSTAMP_ID', '');
if (!defined('EXCH_BITSTAMP_KEY')) define('EXCH_BITSTAMP_KEY','');
if (!defined('EXCH_BLEUTRADE_KEY')) define('EXCH_BLEUTRADE_KEY', '');
if (!defined('EXCH_CCEX_KEY')) define('EXCH_CCEX_KEY', '');
if (!defined('EXCH_CEXIO_ID')) define('EXCH_CEXIO_ID', '');
if (!defined('EXCH_CEXIO_KEY')) define('EXCH_CEXIO_KEY', '');
if (!defined('EXCH_CREX24_KEY')) define('EXCH_CREX24_KEY', '');
if (!defined('EXCH_CRYPTOPIA_KEY')) define('EXCH_CRYPTOPIA_KEY', '');
if (!defined('EXCH_HITBTC_KEY')) define('EXCH_HITBTC_KEY', '');
if (!defined('EXCH_POLONIEX_KEY')) define('EXCH_POLONIEX_KEY', '');
if (!defined('EXCH_YOBIT_KEY')) define('EXCH_YOBIT_KEY', '');
if (!defined('EXCH_KRAKEN_KEY')) define('EXCH_KRAKEN_KEY', '');
if (!defined('EXCH_KUCOIN_KEY')) define('EXCH_KUCOIN_KEY', '');
if (!defined('EXCH_KUCOIN_PASSPHRASE')) define('EXCH_KUCOIN_PASSPHRASE', '');
if (!defined('EXCH_LIVECOIN_KEY')) define('EXCH_LIVECOIN_KEY', '');
if (!defined('EXCH_NOVA_KEY')) define('EXCH_NOVA_KEY', '');
if (!defined('EXCH_STOCKSEXCHANGE_KEY')) define('EXCH_STOCKSEXCHANGE_KEY', '');

if (!defined('VEXON_BTCADDRESS')) define('VEXON_BTCADDRESS', '');
if (!defined('VEXON_SITE_URL')) define('VEXON_SITE_URL', 'localhost');
if (!defined('VEXON_API_URL')) define('VEXON_API_URL', VEXON_SITE_URL);
if (!defined('VEXON_API_PAYOUTS')) define('VEXON_API_PAYOUTS', false);
if (!defined('VEXON_API_PAYOUTS_PERIOD')) define('VEXON_API_PAYOUTS_PERIOD', 24 * 60 * 60);
if (!defined('VEXON_STRATUM_URL')) define('VEXON_STRATUM_URL', VEXON_SITE_URL);
if (!defined('VEXON_SITE_NAME')) define('VEXON_SITE_NAME', 'Vexon Pool');
if (!defined('VEXON_DEFAULT_ALGO')) define('VEXON_DEFAULT_ALGO', 'decred');
if (!defined('VEXON_ADMIN_EMAIL')) define('VEXON_ADMIN_EMAIL', 'admin@example.com');
if (!defined('VEXON_ADMIN_IP')) define('VEXON_ADMIN_IP', '127.0.0.1');
if (!defined('VEXON_ADMIN_WEBCONSOLE')) define('VEXON_ADMIN_WEBCONSOLE', true);

if (!defined('VEXON_CREATE_NEW_COINS')) define('VEXON_CREATE_NEW_COINS', true);
if (!defined('VEXON_NOTIFY_NEW_COINS')) define('VEXON_NOTIFY_NEW_COINS', false);

if (!defined('VEXON_LIMIT_ESTIMATE')) define('VEXON_LIMIT_ESTIMATE', false);
if (!defined('VEXON_RENTAL')) define('VEXON_RENTAL', false);
if (!defined('VEXON_USE_NICEHASH_API')) define('VEXON_USE_NICEHASH_API', false);

if (!defined('NICEHASH_API_KEY')) define('NICEHASH_API_KEY','');
if (!defined('NICEHASH_API_ID')) define('NICEHASH_API_ID','0000');
if (!defined('NICEHASH_DEPOSIT')) define('NICEHASH_DEPOSIT','');
if (!defined('NICEHASH_DEPOSIT_AMOUNT')) define('NICEHASH_DEPOSIT_AMOUNT','0.01');

// cli stuff
if (!defined('VEXON_CLI_ALLOW_TXS')) define('VEXON_CLI_ALLOW_TXS', false);
