This is work in progress, perhaps some expert miner can help me, to correct it or give me more details. As i am new to this stuff, too.
After some corrections i try to make a shiny picture, too.
I will simplify a lot of things, or do not even mention these, i just want to present an easy understandable picture to everyone. People who like to get deeper information need to dig in. This takes time and does not interresst everyone.
Please feel free to correct everything, i am new to this and tried to write down and simplify everthing i know atm about the payment proccess.
How does the payment proccess work?
Step 1. How do we “mine” our XPM?
In the pool we get rewarded for the following:
7ch (0.00114 XPM)
8ch (0.0128 XPM)
9ch 0.1554 XPM)
10ch (0.1968 XPM)
block (or X) (0.2361 XPM)
So as an example we look at 10 minutes of mining. in this 10 minutes we mined (and we were quite lucky):
15 * 7ch (0.00114 XPM) = 0,0171 XPM
1 * 8ch (0.0128 XPM) = 0,0128 XPM
0 * 9ch (0.1554 XPM) = 0 XPM
1 * 10ch (0.1968 XPM) = 0,1968 XPM
0 * block (or X) (0.2361 XPM) = 0 XPM
So we have a total of 0,2267 XPM mined in 10 Minutes. Now we like to get the XPM from the Pool, but where does the Pool gets the XPM which are distributed? (This numbers are an example the need to be adjusted on a regular basis, to match the worth of blocks and the diffculty level, you get the current payout levels @ http://beeeeer.org/)
Step 2 --> How does the Pool gets XPM?
The only part of the whole mining which generates XPMs are the blocks. Only for these Blocks a Miner gets a XPM, how much XPM you get depends on the current diffculty level (999/Difficulty^2, atm ~9XPM). So when we look at our example, we see, that we did not have a block. So no income is generated, but thats why we are mining in a pool. Some people in the whole pool did find blocks in our timeframe and this did generate income. (http://beeeeer.org/blocks)
Note: All Chains (ch) we find, helps us (the pool), to find blocks, thats why they are rewarded and thats why you get a reward even when you did not generate a direct income (block). Realy heavy miners (50+ cores) may get a better income mining solo, smaller solo miner may perhaps mine for weeks and get no income at all… or in the other case may perhaps find one block at the first day.
The problem of these Blocks are, that they needed to be confirmed and this confirmation can take long (~2,2 days). So the Blocks which were found in our timeframe are not paid yet, but other blocks which were mined before got confirmed in our 10 minutes. Say there were 4 confirmed blocks in our 4 minutes, so we got 36 XPM.
More information about how Primecoin are working you get here:
https://bitcointalk.org/index.php?topic=264115.0
Step 3 --> Payout and Sharelog
Now the pool looks who mined the last 10 minutes and distributes the 36 XPM. Now 3 diffrent things can happen:
-
We mined 0,2267 XPM in 10 Minutes, all other miners mined together 35,7733 XPM. So the Pool can distribute the 36 XPM to all Miners and all are happy. (This case will in reality almost never happen)
-
We mined 0,2267 XPM in 10 Minutes, all other miners together would get 39,7733 XPM. The Pool only has 36 XPM, so 4 XPM are missing… What now?
–> The pool can only distribute 36XPM so 10% are missing, so the pool just to pays everyone 10% less, this would be around 0,2 XPM for us, or in our example something like this:
5 * 7ch (0.00114 XPM) = 0,0057 XPM
0 * 8ch (0.0128 XPM) = 0 XPM
0 * 9ch (0.1554 XPM) = 0 XPM
1 * 10ch (0.1968 XPM) = 0,1968 XPM
0 * block (or X) (0.2361 XPM) = 0 XPM
= 0,2025XPM (You would see this in your stats at http://beta.beeeeer.org/index.php?p=user&s=xpm in “sharehistory (paid)”.)
These are the current shares, this shares are paid in FIRST-IN-LAST-OUT order
The rest:
10 * 7ch (0.00114 XPM) = 0,0114 XPM
1 * 8ch (0.0128 XPM) = 0,0128 XPM
0 * 9ch (0.1554 XPM) = 0 XPM
0 * 10ch (0.1968 XPM) = 0 XPM
0 * block (or X) (0.2361 XPM) = 0 XPM
= 0,0242 XPM is stored for later payout in the sharelog (You would see them at http://beta.beeeeer.org/index.php?p=user&s=xpm in “sharelog(stored)”.)
So we now have something in the sharelog, how do we get for? We get this paid when 3. happens.
- We mined 0,2267 XPM in 10 Minutes, all other miners together would get 29,7733 XPM. The Pool now distribute the 30 XPM and has 9 XPM left. It now checks the sharelog and searches for the oldes entrys and starts paying them (FIRST-IN-FIRST-OUT). So the sharelog is a kind of buffer which enables us, to work on and get a direct payout, even when not enough blocks were confirmed. And it makes sure, that everyone is payed, even when it takes some days (5-7 atm) till we get all we earned.