18/04 20h16 GMT +02:00
Default : 1 min 30 sec
Actual : 2 min 3 sec
First of all if talking about PPLNS it is important to understand how it works. PPLNS is short for “Pay Per Last N Shares”. The current proportional reward system is round based. One round is the time between the first share after the last found block and the share which solves a block. PPLNS however means that we no longer consider valid shares of one round but we consider a number N of shares. No matter if they are part of the round or not. The number N is currently for each blockchain twice the difficulty (actually rounded down to an easy to calculate integer value).
Let me illustrate PPLNS using the image below. One round has an arbitrary number of shares which is solely based on sheer luck. On proportional reward system only shares of one round are considered for calculating rewards. However with PPLNS a quite constant number N of shares is considered for calculating rewards. This number N changes only with the difficulty. Please have a look at the image below:
As you know the number of shares needed to solve a block within a round is different. Round one and three needed (difficulty * 2) shares to be solved. Round two and four are quite short rounds. There were less than (difficulty * 2) shares nessecary to solve them. Round five however is a very long round which means the pool needed more than (difficulty * 2) shares to solve the block. From this follows that:
Why do we need to switch the reward system at all?
PPLNS favors constant and/or occasional loyal pool members over pool hoppers. As you might have seen each time we find a PXC block the pools hashrate peaks instantly. This is due to pool hoppers starting to mine. They are betting for a “quick win” (like round two above) with low shares per round. If the round exceeds a certain amount of shares they “hop” to another proportional pool which started a new round more recently trying their luck on the other pool. This assures better rewards for pool hoppers over occasional or constant miners which are loyal to their pool. Pool hopping however implies that pool hoppers need to know when a round is started and how much shares are considered for reward. This is very easy with propotional reward system. Using PPLNS this is no longer true. On long rounds (like round five above) the pool hoppers shares won’t be considered for reward calculations in favor of loyal miners. This is due to the fact that pool hoppers only mine on the beginning of rounds. On short and normal rounds pool hoppers won’t loose their shares. But due to the fact that shares from previous rounds from loyal miners are considered twice (or even more often on extremely short rounds) the pool hopper won’t get the same reward as from proportional reward system.
I’m only an occasional miner. Will I loose shares if playing/being offline?
It depends. Even if you are a constant miner you’ll loose shares on very long rounds. On the other hand if you for example stop mining shortly before the end of round three from the image above you’ll be rewarded for round three. If you then start mining on the mid of round five you’ll be rewarded a bit for round four (despite the fact you haven’t submitted any shares as some of your shares from round three are considered for round four as well) and you’ll be fully rewarded for round five (you won’t loose any shares as you “skipped” the “red part” of shares which have been cut off due to the length of the round). The point however is no one (and thus the pool hopper as well) knows when a round ends in advance. Thus you deliberately can’t avoid cut offs. Sometimes you are lucky sometimes your are not. This however levels out over the time for non-hoppers. The important point is, that you as loyal pool member have an advantage over pool hoppers. Even if you are mining only occasionally in order to enjoy the silence within your mining room.
Isn’t it that you as pool operator earn more from PPLNS?
Short answer: No. As a pool operator I’ In fact for a pool operator it doesn’t matter at all which reward system is used. I expect rounds to become a bit longer after PPLNS is activated as the pool hoppers will start to avoid the Pool. Thus revenues for me will be lower. But there were some loyal pool members who clearly stated that they want to get rid of the pool hoppers and I respect their wish. Furthermore I’m too an occasional miner on the Pool as I don’t want the miners to be running at night and from time to time I need them to test new Pool versions on development systems. Thus being a miner like you I like PPLNS better than proportional. But speaking as pool operator there is no difference between the reward systems.
Thanks to g2x3k/Poolx-eu for PPLNS description