Document

<?php
$deip = (!cp()) ? exit(header('HTTP/1.1 401 Unauthorized')) : 1;
/**
Do not edit this unless you have conrmed that your cong has been updated!
Also the URL to check for the most recent upstream versions available
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-cong-version
**/
$cong['version'] = '0.0.8';
$cong['version_url'] = 'https://raw.githubusercontent.com/MPOS/php-mpos/master/public/include/version.inc.php';
/**
Unless you disable this, we'll do a quick check on your cong rst.
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-cong-check
*/
$cong['skip_cong_tests'] = false;
/**
Denes
Debug setting and salts for hashing passwords
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-denessalts
*/
$cong['DEBUG'] = 0;
$cong['SALT'] = 'asdfjlaskhfcasdkjfhlxasdlfkxlkjaghsdfx';
$cong['SALTY'] = 'asfxjjasdfasdfcklksdckhasdfh';
/**
Coin Algorithm
Algorithm used by this coin, sha256d or scrypt
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-algorithm
**/
$cong['algorithm'] = 'sha256d';
/**
Getbalance API Calls
System used for getting actual Balance from Wallet
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#getbalance-api-calls
**/
$cong['getbalancewithunconrmed'] = true;
/**
Database conguration
MySQL database conguration
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-database-conguration
**/
$cong['db']['host'] = 'localhost';
$cong['db']['user'] = 'joan';
$cong['db']['pass'] = 'joanmpospassword1234';
$cong['db']['port'] = 3306;
$cong['db']['name'] = 'mpos';
/**
Local wallet RPC
RPC conguration for your daemon/wallet
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-local-wallet-rpc
**/
$cong['wallet']['type'] = 'http';
$cong['wallet']['host'] = 'localhost:18332';
$cong['wallet']['username'] = 'ulisha';
$cong['wallet']['password'] = 'aA1!1234317624vv';
/**
Swiftmailer conguration
Congure your way to send mails
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-swiftmailer
**/
$cong['swiftmailer']['type'] = 'sendmail';
$cong['swiftmailer']['sendmail']['path'] = '/usr/sbin/sendmail';
$cong['swiftmailer']['sendmail']['options'] = '-bs';
$cong['swiftmailer']['smtp']['host'] = 'your.mail-relay.com';
$cong['swiftmailer']['smtp']['port'] = '587';
$cong['swiftmailer']['smtp']['encryption'] = 'tls';
$cong['swiftmailer']['smtp']['username'] = ;
$cong['swiftmailer']['smtp']['password'] = ;
$cong['swiftmailer']['smtp']['throttle'] = 100;
/**
Getting Started Cong
Shown to users in the 'Getting Started' section
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-getting-started
**/
$cong['gettingstarted']['coinname'] = 'Bitcoin';
$cong['gettingstarted']['coinurl'] = 'https://bitcoin.org';
1
$cong['gettingstarted']['stratumurl'] = '127.0.0.1';
$cong['gettingstarted']['stratumport'] = '3333';
/**
Ticker API
Fetch exchange rates via an API
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-ticker-api
**/
$cong['price']['enabled'] = false;
$cong['price']['url'] = 'http://pubapi.cryptsy.com';
$cong['price']['target'] = '/api.php?method=marketdata';
$cong['price']['currency'] = 'BTC';
/**
Automatic Payout Thresholds
Minimum and Maximum auto payout amount
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-automatic-payout-thresholds
**/
$cong['ap_threshold']['min'] = 1;
$cong['ap_threshold']['max'] = 250;
/**
Minimum manual Payout Threshold
Minimum manual payout amount
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-manual-payout-threshold
**/
$cong['mp_threshold'] = 1;
/**
Donation thresholds
Minimum donation amount in percent
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-donation-thresholds
**/
$cong['donate_threshold']['min'] = 0;
/**
Account Specic Settings
Settings for each user account
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-account-specic-settings
**/
$cong['accounts']['invitations']['count'] = 5;
/**
Currency
Shorthand name for the currency
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-currency
*/
$cong['currency'] = 'BTC';
/**
Coin Target
Target time for coins to be generated
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-coin-target
**/
$cong['cointarget'] = '10';
/**
Coin Di Change
Amount of blocks between diculty changes
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-coin-di-change
**/
$cong['coindichangetarget'] = 2016;
/**
TX Fees
Fees applied to transactions
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-tx-fees
**/
$cong['txfee_auto'] = 0.1;
$cong['txfee_manual'] = 0.1;
/**
Block & Pool Bonus
Bonus coins for blocknder or a pool bonus for everyone
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-block-bonus
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-pool-bonus
*/
$cong['block_bonus'] = 0;
$cong['pool_bonus'] = 0;
$cong['pool_bonus_type'] = 'payout';
2
/**
Payout System
Payout system chosen
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-payout-system
**/
$cong['payout_system'] = 'pplns';
/**
Sendmany Support
Enable/Disable Sendmany RPC method
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-sendmany-support
**/
$cong['sendmany']['enabled'] = false;
/**
Transaction Limits
Number of transactions per payout run
**/
$cong['payout']['txlimit_manual'] = 500;
$cong['payout']['txlimit_auto'] = 500;
/**
Round Purging
Round share purging conguration
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-round-purging
**/
$cong['purge']['sleep'] = 1;
$cong['purge']['shares'] = 25000;
/**
Share Archiving
Share archiving conguration details
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-archiving
**/
$cong['archive']['maxrounds'] = 10;
$cong['archive']['maxage'] = 60 * 24;
/**
Pool Fees
Fees applied to users
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-pool-fees
*/
$cong['fees'] = 0;
/**
PPLNS
Pay Per Last N Shares
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-pplns-settings
*/
$cong['pplns']['shares']['default'] = 4000000;
$cong['pplns']['shares']['type'] = 'blockavg';
$cong['pplns']['blockavg']['blockcount'] = 10;
$cong['pplns']['reverse_payout'] = true;
$cong['pplns']['dynamic']['percent'] = 30;
/**
Diculty
Diculty setting for stratum/pushpool
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-pool-target-diculty
*/
$cong['diculty'] = 15;
/**
Block Reward
Block reward conguration details
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-reward-settings
**/
$cong['reward_type'] = 'block';
$cong['reward'] = 50;
/**
Conrmations
Credit and Network conrmation settings
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-conrmations
*/
$cong['conrmations'] = 120;
$cong['network_conrmations'] = 120;
3
/**
PPS
Pay Per Share conguration details
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-pps-settings
**/
$cong['pps']['reward']['default'] = 50;
$cong['pps']['reward']['type'] = 'blockavg';
$cong['pps']['blockavg']['blockcount'] = 10;
/**
Memcache
Memcache conguration details
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-memcache
**/
$cong['memcache']['enabled'] = true;
$cong['memcache']['host'] = 'localhost';
$cong['memcache']['port'] = 11211;
$cong['memcache']['keyprex'] = 'mpos_';
$cong['memcache']['expiration'] = 90;
$cong['memcache']['splay'] = 15;
$cong['memcache']['force']['contrib_shares'] = false;
/**
Cookies
Cookie conguration details
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-cookies
**/
$cong['cookie']['duration'] = '1440';
$cong['cookie']['domain'] = ;
$cong['cookie']['path'] = '/';
$cong['cookie']['httponly'] = true;
$cong['cookie']['secure'] = false;
/**
Smarty Cache
Enable smarty cache and cache length
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-smarty-cache
**/
$cong['smarty']['cache'] = 0;
$cong['smarty']['cache_lifetime'] = 30;
/**
System load
Disable some calls when high system load
https://github.com/MPOS/php-mpos/wiki/Cong-Setup#wiki-system-load
**/
$cong['system']['load']['max'] = 10.0;
4