[MAJOR] Changing project name to MPOS
* Adjusted mmcfe-ng occurences in code * Adjusted Database strucutre to only supply the full structure * Adjusted default template to MPOS Addresses #643
@ -54,7 +54,7 @@ consider following this contribution guide!
|
||||
* [General GitHub documentation][2]
|
||||
* [GitHub pull request documentation][3]
|
||||
|
||||
[1]: https://github.com/TheSerapher/php-mmcfe-ng/issues "Issue"
|
||||
[1]: https://github.com/TheSerapher/php-mpos/issues "Issue"
|
||||
[2]: http://help.github.com/ "GitHub documentation"
|
||||
[3]: http://help.github.com/send-pull-requests/ "GitHub pull request documentation"
|
||||
[4]: https://github.com/signup/free "GitHub account"
|
||||
|
||||
12
POOLS.md
@ -1,7 +1,7 @@
|
||||
Pools running mmcfe-ng
|
||||
======================
|
||||
Pools running MPOS
|
||||
==================
|
||||
|
||||
If you are not sure if you want to use `mmcfe-ng` on your own pool,
|
||||
If you are not sure if you want to use `MPOS` on your own pool,
|
||||
maybe this list will push you over the edge of decision making. Some
|
||||
small and large pools are already running on it and have succesfully
|
||||
tested it on various coins.
|
||||
@ -12,7 +12,7 @@ as of this writing and may have changed since then.
|
||||
|
||||
### vias79
|
||||
|
||||
Vias is using mmcfe-ng with a small group of people to mine various coins.
|
||||
Vias is using MPOS with a small group of people to mine various coins.
|
||||
They have succesfully mined blocks on each of those pools listed.
|
||||
All pools are running on Stratum only.
|
||||
|
||||
@ -32,9 +32,9 @@ All pools are running on Stratum only.
|
||||
|
||||
### WKNiGHT
|
||||
|
||||
WKNiGHT was an early adopter of `mmcfe-ng`. He has been around since a first stable release
|
||||
WKNiGHT was an early adopter of `MPOS`. He has been around since a first stable release
|
||||
which only featured proportional payouts. He successfully moved to PPS since then and is
|
||||
running more or less without any issues (related to `mmcfe-ng` that is ;-)). He is also running
|
||||
running more or less without any issues (related to `MPOS` that is ;-)). He is also running
|
||||
the most powerful pool!
|
||||
|
||||
| Pool URL | Coin | Avg. Hashrate | Avg. Active Workers | Notes |
|
||||
|
||||
30
README.md
@ -1,21 +1,12 @@
|
||||
Description
|
||||
===========
|
||||
|
||||
mmcFE-ng is a web frontend for Pooled LTC Mining. A few pools using this interface are running at:
|
||||
MPOS is a web based Mining Portal for various crypto currencies. A few pools using this interface are running at:
|
||||
|
||||
* http://ltc.pool.grewe.ca
|
||||
* http://fst.pool.grewe.ca
|
||||
* http://nvc.pool.grewe.ca
|
||||
|
||||
The web frontend layout is based on mmcFE, the original work by Greedi:
|
||||
https://github.com/Greedi/mmcFE
|
||||
|
||||
After working a few days trying to learn to run my own pool and the
|
||||
systems behind it I figured I'd look a bit deeper in the code to
|
||||
understand how it works. While doing so I also migrated the existing
|
||||
code over to my own framework so maintenance would be easier in the
|
||||
future.
|
||||
|
||||
**NOTE**: This project is still under development and commits are happening on a daily basis.
|
||||
I do not recommend using this for a live setup as of yet. Wait for the later Release Candidate
|
||||
if you wish to run your pool with it. Testing pools are much appreciated though!
|
||||
@ -32,9 +23,10 @@ with some hard earned coins feel free to donate:
|
||||
* NVC address: `4Guct6z7NVPVALHRAVn517TTmvqQve4WYr`
|
||||
* FST address: `g17CfFHqNqR5JnUjtG8RNBYh2WrhEirV67`
|
||||
|
||||
# Website Footer
|
||||
Website Footer
|
||||
==============
|
||||
|
||||
When you decide to use `mmcfe-ng` please be so kind and leave the footer intact. You are not the author of the software and should honor those that have worked on it. I don't mind changing the LTC donation address at the bottom, but keep in mind who really wrote this software and would deserve those ;-).
|
||||
When you decide to use `MPOS` please be so kind and leave the footer intact. You are not the author of the software and should honor those that have worked on it. I don't mind changing the LTC donation address at the bottom, but keep in mind who really wrote this software and would deserve those ;-).
|
||||
|
||||
Donors
|
||||
======
|
||||
@ -47,8 +39,8 @@ These people have supported this project with a donation:
|
||||
* [ZC](https://github.com/zccopwrx)
|
||||
* Nutnut
|
||||
|
||||
Pools running mmcfe-ng
|
||||
======================
|
||||
Pools running MPOS
|
||||
==================
|
||||
|
||||
You can find a list of active pools [here](POOLS.md).
|
||||
|
||||
@ -60,7 +52,7 @@ 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 `mmcfe-ng` is **only** for pooled mining. Solo Mining is not
|
||||
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
|
||||
any shares, only blocks. Expect weird behavior if trying to mix them. See #299
|
||||
for full information.
|
||||
@ -129,8 +121,8 @@ The following feature have been implemented so far:
|
||||
Installation
|
||||
============
|
||||
|
||||
Please take a look at the [Quick Start Guide](https://github.com/TheSerapher/php-mmcfe-ng/wiki/Quick-Start-Guide). This will give you
|
||||
an idea how to setup `mmcfe-ng`.
|
||||
Please take a look at the [Quick Start Guide](https://github.com/TheSerapher/php-mpos/wiki/Quick-Start-Guide). This will give you
|
||||
an idea how to setup `MPOS`.
|
||||
|
||||
Contributing
|
||||
============
|
||||
@ -144,7 +136,7 @@ You can contribute to this project in different ways:
|
||||
Contact
|
||||
=======
|
||||
|
||||
You can find me on Freenode.net, #mmcfe-ng.
|
||||
You can find me on Freenode.net, #MPOS.
|
||||
|
||||
License and Author
|
||||
==================
|
||||
@ -164,5 +156,5 @@ See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
|
||||
[1]: https://github.com/TheSerapher/php-mmcfe-ng/issues "Issue"
|
||||
[1]: https://github.com/TheSerapher/php-mpos/issues "Issue"
|
||||
[2]: http://www.smarty.net/docs/en/ "Smarty"
|
||||
|
||||
@ -19,7 +19,7 @@ if ($detect->isMobile() && $setting->getValue('website_mobile_theme')) {
|
||||
$setting->getValue('website_mobile_theme') ? $theme = $setting->getValue('website_mobile_theme') : $theme = 'mobile';
|
||||
} else {
|
||||
// Use configured theme, fallback to default theme
|
||||
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mmcFE';
|
||||
$setting->getValue('website_theme') ? $theme = $setting->getValue('website_theme') : $theme = 'mpos';
|
||||
}
|
||||
define('THEME', $theme);
|
||||
|
||||
|
||||
@ -56,7 +56,7 @@ $aSettings['website'][] = array(
|
||||
$aSettings['website'][] = array(
|
||||
'display' => 'Website theme', 'type' => 'select',
|
||||
'options' => $aThemes,
|
||||
'default' => 'mmcFE',
|
||||
'default' => 'mpos',
|
||||
'name' => 'website_theme', 'value' => $setting->getValue('website_theme'),
|
||||
'tooltip' => 'The default theme used on your pool.'
|
||||
);
|
||||
|
||||
@ -23,7 +23,7 @@ define('SALT', 'PLEASEMAKEMESOMETHINGRANDOM');
|
||||
/**
|
||||
* Database configuration
|
||||
*
|
||||
* A MySQL database backend is required for mmcfe-ng.
|
||||
* A MySQL database backend is required for MPOS.
|
||||
* Also ensure the database structure is imported!
|
||||
* The SQL file should be included in this project under the `sql` directory
|
||||
*
|
||||
@ -32,18 +32,18 @@ define('SALT', 'PLEASEMAKEMESOMETHINGRANDOM');
|
||||
* port = 3306
|
||||
* user = 'someuser'
|
||||
* pass = 'somepass'
|
||||
* name = 'mmcfe_ng'
|
||||
* name = 'mpos'
|
||||
**/
|
||||
$config['db']['host'] = 'localhost';
|
||||
$config['db']['user'] = 'someuser';
|
||||
$config['db']['pass'] = 'somepass';
|
||||
$config['db']['port'] = 3306;
|
||||
$config['db']['name'] = 'mmcfe_ng';
|
||||
$config['db']['name'] = 'mpos';
|
||||
|
||||
/**
|
||||
* Local wallet RPC configuration
|
||||
*
|
||||
* mmcfe-ng uses the RPC backend to fetch transactions, blocks
|
||||
* MPOS uses the RPC backend to fetch transactions, blocks
|
||||
* and various other things. They need to match your coind RPC
|
||||
* configuration.
|
||||
*
|
||||
@ -62,9 +62,9 @@ $config['wallet']['password'] = 'testnet';
|
||||
* API configuration to fetch prices for set currency
|
||||
*
|
||||
* Explanation:
|
||||
* mmcfe-ng will try to fetch the current exchange rates
|
||||
* MPOS will try to fetch the current exchange rates
|
||||
* from this API URL/target. Currently btc-e and coinchoose
|
||||
* are supported in mmcfe-ng. If you want to remove the trade
|
||||
* are supported in MPOS. If you want to remove the trade
|
||||
* header just set currency to an empty string.
|
||||
*
|
||||
* Default (btc-e.com):
|
||||
@ -236,7 +236,7 @@ $config['pplns']['shares']['type'] = 'blockavg';
|
||||
$config['pplns']['blockavg']['blockcount'] = 10;
|
||||
|
||||
// Pool target difficulty as set in pushpoold configuration file
|
||||
// Please also read this for stratum: https://github.com/TheSerapher/php-mmcfe-ng/wiki/FAQ
|
||||
// Please also read this for stratum: https://github.com/TheSerapher/php-mpos/wiki/FAQ
|
||||
$config['difficulty'] = 20;
|
||||
|
||||
|
||||
@ -315,7 +315,7 @@ $config['pps_target'] = 16; // do not change unless you know what it does
|
||||
* enabled : Disable (false) memcache for debugging or enable (true) it
|
||||
* host : Host IP or hostname
|
||||
* port : memcache port
|
||||
* keyprefix : Must be changed for multiple mmcfe-ng instances on one host
|
||||
* keyprefix : Must be changed for multiple MPOS instances on one host
|
||||
* expiration : Default expiration time in seconds of all cached keys.
|
||||
* Increase if caches expire too fast.
|
||||
* splay : Default randomizer for expiration times.
|
||||
@ -325,14 +325,14 @@ $config['pps_target'] = 16; // do not change unless you know what it does
|
||||
* enabled = `true`
|
||||
* host = `localhost`
|
||||
* port = 11211
|
||||
* keyprefix = `mmcfe_ng_`
|
||||
* keyprefix = `mpos_`
|
||||
* expiration = 90
|
||||
* splay = 15
|
||||
**/
|
||||
$config['memcache']['enabled'] = true;
|
||||
$config['memcache']['host'] = 'localhost';
|
||||
$config['memcache']['port'] = 11211;
|
||||
$config['memcache']['keyprefix'] = 'mmcfe_ng_';
|
||||
$config['memcache']['keyprefix'] = 'mpos_';
|
||||
$config['memcache']['expiration'] = 90;
|
||||
$config['memcache']['splay'] = 15;
|
||||
|
||||
@ -342,7 +342,7 @@ $config['memcache']['splay'] = 15;
|
||||
*
|
||||
* You can configure the cookie behaviour to secure your cookies more than the PHP defaults
|
||||
*
|
||||
* For multiple installations of mmcfe-ng on the same domain you must change the cookie path.
|
||||
* For multiple installations of MPOS on the same domain you must change the cookie path.
|
||||
*
|
||||
* Explanation:
|
||||
* duration:
|
||||
@ -393,7 +393,7 @@ $config['cookie']['secure'] = false;
|
||||
* all data so rendering the page should not take too long anyway.
|
||||
*
|
||||
* You can test this out and enable (1) this setting but it's not guaranteed to
|
||||
* work with mmcfe-ng.
|
||||
* work with MPOS.
|
||||
*
|
||||
* Ensure that the folder `templates/cache` is writable by the webserver!
|
||||
*
|
||||
|
||||
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 210 B After Width: | Height: | Size: 210 B |
|
Before Width: | Height: | Size: 217 B After Width: | Height: | Size: 217 B |
|
Before Width: | Height: | Size: 214 B After Width: | Height: | Size: 214 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
|
Before Width: | Height: | Size: 347 B After Width: | Height: | Size: 347 B |
|
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 418 B |
|
Before Width: | Height: | Size: 233 B After Width: | Height: | Size: 233 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 263 B After Width: | Height: | Size: 263 B |
|
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
|
Before Width: | Height: | Size: 204 B After Width: | Height: | Size: 204 B |
|
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |