0
Under review

PPLNS difficulty changes

mv_ 7 years ago updated by Oliver 7 years ago 3

In the FAQ, it says " [...] regardless of round boundaries we always consider the last (difficulty * 2) shares." 


If round 1 is long, round 2 has low difficulty but is short, and round 3 has higher difficulty but is also short, might shares issued early in Round 1 get included in Round 3 that were not included in round 2?    Consider share #11: Round 1, with difficulty 15, is hit with share 32, so share 11 gets a piece of that, then round 2 has difficulty 10, hit with share 36, share 11 is too old... but then Round 3 has difficulty 15 again, and is hit with share 39, so shares from 10 through 39 get a piece?


When difficulty changes during the round (many coins change difficulty every block, so there can be hundreds of difficulty changes during a round here), are all shares of the round treated equally, or is a share contributed at difficulty=10 considered twice as valuable as a share contributed at difficulty=20 ?

Under review

A share's score is equal to: shareDifficulty / blockDifficulty. This is the exact line of code that calculates it: https://github.com/coinfoundry/miningcore/blob/master/src/MiningCore/Payments/PayoutSchemes/PayPerLastNShares.cs#L155

If Earnings = 1.80 DASH * share count in 2.5 difficulty round / Total share count in 2.5 difficulty round.


Can you add more statistics of the Round ? Such as Block Difficulty, Time and shares per user ?

Block difficulty is easy to add. Shares per user is a bit trickier as the payout system will delete shares that are no longer eligible for future payouts, but I will see what I can do.