From aace0dd014ededaad206a7985f7e243fb62044d1 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 11 Jul 2013 08:57:11 +0200 Subject: [PATCH 1/2] More descriptive PPLNS options Fixes #421 and #422 --- public/include/config/global.inc.dist.php | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/public/include/config/global.inc.dist.php b/public/include/config/global.inc.dist.php index a57c1f22..73325a5c 100644 --- a/public/include/config/global.inc.dist.php +++ b/public/include/config/global.inc.dist.php @@ -179,6 +179,7 @@ $config['block_bonus'] = 0; * Available options: * prop: Proportional payout system * pps : Pay Per Share payout system + * pplns : Pay Per Last N Shares payout system * * Default: * prop @@ -232,6 +233,19 @@ $config['fees'] = 0; * Different dynamic types can be applied, or you can run a fixed scheme. * * Explanation + * + * PPLNS can run on two different payouts: fixed and blockavg. Each one + * defines a different PPLNS target. + * + * Fixed means we will be looking at the shares setup in the default + * setting. There is no automatic adjustments to the PPLNS target, + * all users will be paid out proportionally to that target. + * + * Blockavg will look at the last blockcount blocks shares and take + * the average as the PPLNS target. This will be automatically adjusted + * when difficulty changes and more blocks are available. This keeps the + * target dynamic but still traceable. + * * default : Default target shares for PPLNS * type : Payout type used in PPLNS * blockcount : Amount of blocks to check for avg shares @@ -260,7 +274,7 @@ $config['difficulty'] = 20; * * Explanation: * - * Proportional Payout System + * Proportional + PPLNS Payout System * When running a pool on fixed mode, each block will be paid * out as defined in `reward`. If you wish to pass transaction * fees inside discovered blocks on to user, set this to `block`. From 25b12d204a4ec48503f20608f4886f380fa63668 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 11 Jul 2013 09:19:30 +0200 Subject: [PATCH 2/2] Better description what type uses what for PPLNS Fixes #422 --- public/include/config/global.inc.dist.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/include/config/global.inc.dist.php b/public/include/config/global.inc.dist.php index 73325a5c..c8f31d6e 100644 --- a/public/include/config/global.inc.dist.php +++ b/public/include/config/global.inc.dist.php @@ -246,6 +246,11 @@ $config['fees'] = 0; * when difficulty changes and more blocks are available. This keeps the * target dynamic but still traceable. * + * If you use the fixed type it will use $config['pplns']['shares']['default'] + * for target calculations, if you use blockavg type it will use + * $config['pplns']['blockavg']['blockcount'] blocks average for target + * calculations. + * * default : Default target shares for PPLNS * type : Payout type used in PPLNS * blockcount : Amount of blocks to check for avg shares