M
In a way, yes, it's weighted, but just due to the way that numbers work when you take the average of a percentage like this, and the way the luck percentage is calculated. Take a look at an example.
Let's say that the average block find time should be 1 hour, just to make the numbers easier.
BLOCK 1: 1.0 hour (100% luck)
BLOCK 2: 0.5 hour (200% luck)
BLOCK 3: 1.5 hour (66% luck)
Now, if you add 100% + 200% + 66%, you get 366%. Divide by 3 blocks and you get 122%. But if you look at the whole series of blocks, there were 3 blocks found in 3 hours, which is 100% luck.
If you want to find luck for a large number of blocks, it's really easy. You don't have to look at the timestamps or luck for each block in between; just the timestamps for the first block and the last block, and the number of blocks in between.
Of course, this assumes that the expected 100% luck remains constant; i.e., that the network hashrate and the pool hashrate both remain constant (relative to each other; if they both increase by 10%, the expected luck should remain the same). Which of course, is not the case, but for short periods (like 24 hours or less) it is probably a safe approximation.
I follow example #1, but I don't follow the part about "just the timestamps for the first block and the last block, and the number of blocks in between". Can you give an example for that?
M
I think I get it. With your example above, 3 blocks, 3 hours apart, therefore 1 block an hour (which is the target), so 100%.
M
Exactly.
And the target of 1 hour comes from something like "Bitcoin blocks are mined 6 per hour on average; our hashrate is 1/6 of the total network hashrate; therefore we expect 1 block every hour". Of course blocks are mined somewhat more than 6 per hour, depending on how long since the last difficulty adjustment, and how much network hashrate has been added in the interim; and the overall network hashrate and pool hashrate will both vary as well. So the 1 hour is a moving target, constantly changing. But again, it should stay "fairly" constant over a short time period.
If I could boil it down, I would probably choose to show something like an EMA(24h) for Luck at the top of the main Eligius site, instead of a current block luck %.
I think I'm in over my head.
Thanks.
M