php-mpos/public/include/config/global.inc.dist.php
Sebastian Grewe 4f3e1e9ccb Adding support for API currencies
Since some altcoins are not listed with USD yet @vias79 suggested adding
different API target currencies. This commit will add the feature and
closes #201.
2013-06-17 10:40:36 +02:00

88 lines
3.0 KiB
PHP

<?php
// Make sure we are called from index.php
if (!defined('SECURITY'))
die('Hacking attempt');
// What is our overall theme
define('THEME', 'mmcFE');
// Our include directory for additional features
define('INCLUDE_DIR', BASEPATH . 'include');
// Our class directory
define('CLASS_DIR', INCLUDE_DIR . '/classes');
// Our pages directory which takes care of
define('PAGES_DIR', INCLUDE_DIR . '/pages');
// Set debugging level for our debug class
define('DEBUG', 0);
define('SALT', 'PLEASEMAKEMESOMETHINGRANDOM');
$config = array(
'price' => array(
'url' => 'https://btc-e.com/api/2',
'target' => '/ltc_usd/ticker',
'currency' => 'USD' // Used in ministats template
),
'ap_threshold' => array(
'min' => 1,
'max' => 250
),
'website' => array(
'registration' => true, // Allow new users to register
'name' => 'The Pool',
'slogan' => 'Resistance is futile',
'email' => 'test@example.com', // Mail address used for notifications
),
// See: http://www.google.com/recaptcha
'recaptcha' => array(
'enabled' => false, // Enable re-captcha during registraion
'public_key' => 'YOUR_PUBLIC_RECAPTCHA_KEY',
'private_key' => 'YOUR_PRIVATE_RECAPTCHA_KEY'
),
'currency' => 'LTC', // Currency name to be used on website
'txfee' => 0.1, // Default tx fee added by RPC server
'block_bonus' => 0,
'payout_system' => 'prop', // Set your payout here so template changes are activated
'archive_shares' => true, // Store accounted shares in archive table?
'blockexplorer' => 'http://explorer.litecoin.net/search?q=', // URL for block searches, prefixed to each block number
'chaininfo' => 'http://allchains.info', // Link to Allchains for Difficulty information
'fees' => 0,
'difficulty' => '20', // Target difficulty for this pool as set in pushpoold json
'reward' => '50', // Reward for finding blocks, fixed value but changes someday
'confirmations' => '120', // Confirmations per block needed to credit transactions
'memcache' => array(
'enabled' => true,
'host' => 'localhost', // Memcache Host
'port' => 11211, // Memcache Port
'keyprefix' => 'mmcfe_ng_', // Prefix for all keys
'expiration'=> '90', // Cache time
'splay' => '15' // Splay time
),
'wallet' => array(
'type' => 'http', // http or https are supported
'host' => 'localhost:9332',
'username' => 'litecoinrpc',
'password' => 'somepass'
),
'cashout' => array(
'min_balance' => 0.0 // Minimal balance to cash out
),
'cookie' => array(
'path' => '/',
'name' => 'POOLERCOOKIE',
'domain' => ''
),
'cache' => 0, // 1 to enable smarty cache in templates/cache
'db' => array(
'host' => 'localhost',
'user' => 'someuser',
'pass' => 'somepass',
'port' => '3306',
'name' => 'litecoin',
),
);
?>