user6058: Trying to generate useful stats about client activity in a pool. If a quantity of submitted (timestamped) shares is known, and the difficulty of each share is known, how can the client's aggregate hashrate be determined?

user208: hashes = shares * share_difficulty * 2**48 / 65535

thus:
megahash_per_second = shares_per_second * share_difficulty * 4295.032833


6058: <p>Trying to generate useful stats about client activity in a pool. If a quantity of submitted (timestamped) shares is known, and the difficulty of each share is known, how can the client's aggregate hashrate be determined?</p>
 208: <pre><code>hashes = shares * share_difficulty * 2**48 / 65535
</code></pre>

<p>thus:</p>

<pre><code>megahash_per_second = shares_per_second * share_difficulty * 4295.032833
</code></pre>
