Skip to content
Sebastian Grewe edited this page Dec 20, 2013 · 23 revisions

A quick FAQ of things we have encountered so far. If you have a question that you'd like answered and that is not listed here, please create an issue and we will see if it is a generic question valid for anyone. Then it shall be added to this document.

What does MPOS even stand for

Mining Portal Open Source

How do I add some custom JavaScript code?

You can edit the templates/mmcFE/global/header.tpl file to add your own custom JavaScript code. Either by using the smarty {literal} flag so JS code is not parsed by smarty or including your own HTML template. See Smarty Literal and Smarty Include. Question taken from Issue 493.

What coins are supported?

Please check the README and POOLS file in this project. You will get a general idea which coins have been tested with MPOS.

Coin XZY uses a different reward per block, can I change that?

Please check your configuration file. You have to set the block reward to your coins reward value. It defaults to 50 for LTC.

Can I run multiple payout systems at the same time or per worker?

No, this is not supported by MPOS. You define one payout process which is applied to everyone in the pool. You may change the code as you see fit to make it work for yourself.

The website sometimes takes a long time to load, why is that?

You are probably not running the statistics cron. It fetches data and pre-caches it for the website. If the website is not able to fetch cached data, it will run queries by itself. On long rounds this will be very noticeable on the frontend. Enable the cron to fix that.

Why does stratum seem to be off when using MPOS?

This is a rather complex answer so please read along.

@pooler was nice enough to explain it to me in detail:

pushpoold uses a target bits terminology and stratum a difficulty setting. These are different. When running pushpoold at a target bit of 20 you will match the default setting of 16 in startum-mining. This will ensure that hashrates on MPOS match up! If you'd think you could set pushpoold to 16 and match it with stratum you will be off.

He devised a formula that can be used to change startum difficulty and match pushpoold and MPOS to it:

(stratum diff) ~= 2^((target bits in pushpool) - 16)

Example, you are running MPOS and pushpoold with a setting of 20:

16 ~= 2^(20 - 16)

And vice-versa, here an example to go from a custom difficulty in stratum back to the proper difficulty setting in MPOS (useful if you wish to migrate somehow and keep your diff):

(log(16)/log(2)) + 16 = 20;

Stratum Target Bits
16 20
32 21
64 22
128 23
256 24
512 25
1024 26
2048 27
4096 28
8192 29
16384 30
32768 31
65536 32
131072 33
262144 34
524288 35
1048576 36
2097152 37
4194304 38
8388608 39
16777216 40
Clone this wiki locally