user323: How do mining pools figure out the hashing speed of the miners connected to it?

user22: Since pools only receive successfully calculated shares they must approximate your actual hashrate based on the number of shares submitted.
Assuming we're talking about difficulty 1 shares, you should be able to approximate hashrate via H = S * 2^32 / T where H = hashrate, S = shares submitted and T = time in seconds. Your estimate will be more accurate for larger values of T.
It takes approximately 2^32 hashes to find a share and each share has a 1/D (D = difficulty) chance of correctly solving the block. From that, with some simple math, you should be able to calculate almost every important thing about mining.

323: <p>How do mining pools figure out the hashing speed of the miners connected to it?</p>
 22: <p>Since pools only receive successfully calculated shares they must approximate your actual hashrate based on the number of shares submitted.</p>

<p>Assuming we're talking about difficulty 1 shares, you should be able to approximate hashrate via <code>H = S * 2^32 / T</code> where <code>H = hashrate</code>, <code>S = shares submitted</code> and <code>T = time in seconds</code>. Your estimate will be more accurate for larger values of T.</p>

<p>It takes approximately 2^32 hashes to find a share and each share has a 1/D (D = difficulty) chance of correctly solving the block. From that, with some simple math, you should be able to calculate almost every important thing about mining.</p>
