<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.snowblossom.org/index.php?action=history&amp;feed=atom&amp;title=Mining%2FPPLNS</id>
	<title>Mining/PPLNS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.snowblossom.org/index.php?action=history&amp;feed=atom&amp;title=Mining%2FPPLNS"/>
	<link rel="alternate" type="text/html" href="https://wiki.snowblossom.org/index.php?title=Mining/PPLNS&amp;action=history"/>
	<updated>2026-06-09T22:35:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.snowblossom.org/index.php?title=Mining/PPLNS&amp;diff=94&amp;oldid=prev</id>
		<title>Fireduck: Created page with &quot;PPLNS is the payment system used by MrPlow and many other pool softwares for pooled mining.  PPLNS stands for Pay Per Last N Shares.  N is a number of block equivalents to...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.snowblossom.org/index.php?title=Mining/PPLNS&amp;diff=94&amp;oldid=prev"/>
		<updated>2018-11-27T18:59:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;PPLNS is the payment system used by &lt;a href=&quot;/index.php/MrPlow&quot; title=&quot;MrPlow&quot;&gt;MrPlow&lt;/a&gt; and many other pool softwares for pooled mining.  PPLNS stands for Pay Per Last N Shares.  N is a number of block equivalents to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;PPLNS is the payment system used by [[MrPlow]] and many other pool softwares for pooled mining.&lt;br /&gt;
&lt;br /&gt;
PPLNS stands for Pay Per Last N Shares.  N is a number of block equivalents to look back.  In PPLNS the pool considers shares submitted over the last N blocks of share.  That is a bit hard to follow so lets do a concrete example.  &lt;br /&gt;
&lt;br /&gt;
Let's suppose the the network difficulty is 40 to solve a block.  That means on average, 2^40 hash operations need to be checked to find a block.  Workers attached to the pool are mining at difficulty 22 to start with.&lt;br /&gt;
&lt;br /&gt;
This means, that for the current network difficulty of 40 and user shares of 22, we expect there to be 2^(40-22) = 2^18 shares per block (on average).&lt;br /&gt;
&lt;br /&gt;
This means, with a N of 5, the pool will look back 5*2^18 shares and pay those miners for a block in proportion to their number of shares in that set.&lt;br /&gt;
&lt;br /&gt;
So if you mine a share in this example, until the pool sees 5*2^18 more shares, submitted to the pool, the pool will pay you a little for each block found.  Of course that could be zero blocks or 10 blocks but on average it should be about 5.&lt;br /&gt;
&lt;br /&gt;
Of course, there is a complication that users mine at higher difficulties if they are faster.  So if a miner submits a share at difficulty 20 rather than 22, it is counted as 2^(22-20) = 2^2 = 4 shares.  This is reflected in the MrPlow logs:&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
 INFO: Share recorded for snowtest:xx5d2a5c6apvvt4gx553qfch3y2jwjl2q68mc4e5 - (8 shares) (524288 hashes)&lt;br /&gt;
&lt;br /&gt;
'''&lt;br /&gt;
&lt;br /&gt;
In this case, the starting share difficulty is 16 and this work unit was submitted with difficulty 19, thus 2^3 shares.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Mining]]&lt;/div&gt;</summary>
		<author><name>Fireduck</name></author>
		
	</entry>
</feed>