diff --git a/README.md b/README.md index 51abc689..5035cb36 100644 --- a/README.md +++ b/README.md @@ -50,8 +50,6 @@ Requirements This setup has been tested on Ubuntu 12.04, Ubuntu 13.04 and CentOS. It should also work on any related distribution (RHEL, Debian). -For support on how to get `litecoind` or `pushpoold` to work, please ask -in the appropriate forums. Be aware that `MPOS` is **only** for pooled mining. Solo Mining is not supported. They will never match an upstream share, solo miners do not create @@ -77,16 +75,16 @@ The following feature have been implemented so far: * Fully re-written GUI with [Smarty][2] templates * Mobile WebUI -* **NEW** VARDIFF Support +* Scrypt, **NEW** SHA256, VARDIFF Support * Reward Systems * Propotional * PPS * PPLNS * Statistics are cached in Memcache by Cronjob for quick data access -* **NEW** New Theme - * **NEW** Live Dashboard - * **NEW** AJAX Support - * **NEW** Overhauled API +* New Theme + * Live Dashboard + * AJAX Support + * Overhauled API * Web User accounts * Re-Captcha protected registration form * Worker accounts @@ -143,6 +141,15 @@ Other customizations are also possible but will require merging changes together on non-existing features in `MPOS`. For the vast majority, adjusting themes should be enough to highlight your pool from others. In all that, I humbly ask to keep the `MPOS` author reference and Github URL intact. + +Related Software +================ + +There are a few other projects out there that take advantage of MPOS and it's included API. Here a quick list that you can check out for yourself: + +* [MPOS IRC Bot](https://github.com/WKNiGHT-/mpos-bot) written in Python, standlone bot, using the MPOS API +* [MPOS Eggdrop Module](https://github.com/iAmShorty/mpos-eggdrop-tcl) written in TCL, adding MPOS commands to this bot, using the MPOS API + Contributing ============ diff --git a/public/include/config/global.inc.dist.php b/public/include/config/global.inc.dist.php index 1609b8b8..4a139582 100644 --- a/public/include/config/global.inc.dist.php +++ b/public/include/config/global.inc.dist.php @@ -69,6 +69,24 @@ $config['wallet']['host'] = 'localhost:19334'; $config['wallet']['username'] = 'testnet'; $config['wallet']['password'] = 'testnet'; + + + +/** + * Getting Started Config + * + * This is displayed on GettingStarted Page + * to make it more dynamic + * + * + **/ +$config['gettingstarted']['coinname'] = 'Litecoin'; +$config['gettingstarted']['coinurl'] = 'http://www.litecoin.org'; +$config['gettingstarted']['stratumport'] = '3333'; + + + + /** * API configuration to fetch prices for set currency * diff --git a/public/include/pages/gettingstarted.inc.php b/public/include/pages/gettingstarted.inc.php index aecab054..2f30151a 100644 --- a/public/include/pages/gettingstarted.inc.php +++ b/public/include/pages/gettingstarted.inc.php @@ -4,6 +4,10 @@ if (!defined('SECURITY')) die('Hacking attempt'); +$smarty->assign("SITESTRATUMPORT", $config['gettingstarted']['stratumport']); +$smarty->assign("SITECOINNAME", $config['gettingstarted']['coinname']); +$smarty->assign("SITECOINURL", $config['gettingstarted']['coinurl']); + // Tempalte specifics $smarty->assign("CONTENT", "default.tpl"); ?> diff --git a/public/templates/mmcFE/gettingstarted/default.tpl b/public/templates/mmcFE/gettingstarted/default.tpl index f609a6b8..9450bd08 100644 --- a/public/templates/mmcFE/gettingstarted/default.tpl +++ b/public/templates/mmcFE/gettingstarted/default.tpl @@ -7,9 +7,9 @@
  • 2. Download a miner.
  • 3. Configure your miner. @@ -17,29 +17,29 @@ - +
    STRATUM:stratum+tcp://{$smarty.server.SERVER_NAME}
    PORT:3333
    PORT:{$SITESTRATUMPORT|default:"3333"}
    Username:Weblogin.Worker
    Password:Worker Password

    If you use a command-line miner, type:

    -
    ./cgminer --scrypt -o stratum+tcp://{$smarty.server.SERVER_NAME}:3333 -u Weblogin.Worker -p Worker password
    +
    ./cgminer --scrypt -o stratum+tcp://{$smarty.server.SERVER_NAME}:{$SITESTRATUMPORT|default:"3333"} -u Weblogin.Worker -p Worker password

    If you want, you can create additional workers with usernames and passwords of your choice Here

  • -
  • 4. Create a Litecoin address to recieve payments. +
  • 4. Create a {$SITECOINNAME|default:"Litecoin"} address to recieve payments.
  • 5. Advanced cgminer settings / FAQ
  • {include file="global/block_footer.tpl"} diff --git a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl index eaa0a3fc..97b2b3b9 100644 --- a/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mmcFE/statistics/pool/contributors_hashrate.tpl @@ -20,7 +20,7 @@ {if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if} {($CONTRIBHASHES[contrib].hashrate * $GLOBAL.hashmods.personal)|number_format:"2"} {$estday|number_format:"3"} - {if $GLOBAL.config.price.currency}{($estday * $GLOBAL.price)|default:"n/a"|number_format:"2"}{/if} + {if $GLOBAL.config.price.currency}{($estday * $GLOBAL.price)|default:"n/a"|number_format:"4"}{/if} {/section} {if $listed != 1 && $GLOBAL.userdata.username|default:"" && $GLOBAL.userdata.hashrate|default:"0" > 0} @@ -30,7 +30,7 @@ {$GLOBAL.userdata.username|escape} {$GLOBAL.userdata.hashrate} {$myestday|number_format:"3"|default:"n/a"} - {if $GLOBAL.config.price.currency}{($myestday * $GLOBAL.price)|default:"n/a"|number_format:"2"}{/if} + {if $GLOBAL.config.price.currency}{($myestday * $GLOBAL.price)|default:"n/a"|number_format:"4"}{/if} {/if} diff --git a/public/templates/mobile/statistics/pool/contributors_hashrate.tpl b/public/templates/mobile/statistics/pool/contributors_hashrate.tpl index 9745f831..e02c50fa 100644 --- a/public/templates/mobile/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mobile/statistics/pool/contributors_hashrate.tpl @@ -19,7 +19,7 @@ {if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if} {$CONTRIBHASHES[contrib].hashrate|number_format} {$estday|number_format:"3"} - {($estday * $GLOBAL.price)|default:"n/a"|number_format:"2"} + {($estday * $GLOBAL.price)|default:"n/a"|number_format:"4"} {/section} {if $listed != 1 && $GLOBAL.userdata.username|default:"" && $GLOBAL.userdata.hashrate|default:"0" > 0} @@ -28,7 +28,7 @@ {$GLOBAL.userdata.username} {$GLOBAL.userdata.hashrate} {$estday|number_format:"3"|default:"n/a"} - {($estday * $GLOBAL.price)|default:"n/a"|number_format:"2"} + {($estday * $GLOBAL.price)|default:"n/a"|number_format:"4"} {/if} diff --git a/public/templates/mpos/gettingstarted/default.tpl b/public/templates/mpos/gettingstarted/default.tpl index 5e677acd..2dcd4357 100644 --- a/public/templates/mpos/gettingstarted/default.tpl +++ b/public/templates/mpos/gettingstarted/default.tpl @@ -9,9 +9,9 @@
  • 2. Download a miner.
  • 3. Configure your miner. @@ -19,29 +19,29 @@ - +
    STRATUM:stratum+tcp://{$smarty.server.SERVER_NAME}
    PORT:3333
    PORT:{$SITESTRATUMPORT|default:"3333"}
    Username:Weblogin.Worker
    Password:Worker Password

    If you use a command-line miner, type:

    -
    ./cgminer --scrypt -o stratum+tcp://{$smarty.server.SERVER_NAME}:3333 -u Weblogin.Worker -p Worker password
    +
    ./cgminer --scrypt -o stratum+tcp://{$smarty.server.SERVER_NAME}:{$SITESTRATUMPORT|default:"3333"} -u Weblogin.Worker -p Worker password

    If you want, you can create additional workers with usernames and passwords of your choice Here

  • -
  • 4. Create a Litecoin address to recieve payments. +
  • 4. Create a {$SITECOINNAME|default:"Litecoin"} address to recieve payments.
  • 5. Advanced cgminer settings / FAQ
  • diff --git a/public/templates/mpos/statistics/pool/contributors_hashrate.tpl b/public/templates/mpos/statistics/pool/contributors_hashrate.tpl index 38f37894..f54a36e3 100644 --- a/public/templates/mpos/statistics/pool/contributors_hashrate.tpl +++ b/public/templates/mpos/statistics/pool/contributors_hashrate.tpl @@ -23,7 +23,7 @@ {if $CONTRIBHASHES[contrib].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBHASHES[contrib].account|escape}{/if} {$CONTRIBHASHES[contrib].hashrate|number_format} {$estday|number_format:"3"} - {if $GLOBAL.config.price.currency}{($estday * $GLOBAL.price)|default:"n/a"|number_format:"2"}{/if} + {if $GLOBAL.config.price.currency}{($estday * $GLOBAL.price)|default:"n/a"|number_format:"4"}{/if} {/section} {if $listed != 1 && $GLOBAL.userdata.username|default:"" && $GLOBAL.userdata.hashrate|default:"0" > 0} @@ -34,7 +34,7 @@ {$GLOBAL.userdata.username|escape} {$GLOBAL.userdata.hashrate} {$myestday|number_format:"3"|default:"n/a"} - {if $GLOBAL.config.price.currency}{($myestday * $GLOBAL.price)|default:"n/a"|number_format:"2"}{/if} + {if $GLOBAL.config.price.currency}{($myestday * $GLOBAL.price)|default:"n/a"|number_format:"4"}{/if} {/if}