<p>Most likely, you are considering 2^16 to be difficulty 1, not 2^32. 2^32 is a common base for SHA256d coins like Bitcoin. 2^16 is common for scrypt coins like Dogecoin.</p>

CC BY-SA 3.0
2014-06-25T19:25:01.793Z
Thx a lot, 2^16 is looks fine. There are really not so much info about SCRYPT. Thx.
DevKun
CC BY-SA 3.0
2014-06-25T19:16:47.970Z
2014-06-25T19:16:47.970Z
David Schwartz
<p>Actually I am working with some small academic project right now and I am newbie in crypto currencies. This project is primitive mining pool for cryptocurrency, as a base cryptocurrency I am using dogecoin (don't ask why, i just liked the name). I've read a lot of information, looks through lots of projects and actually I've created it. So I could connect with the mining tool to my pool right now and start to mine. if I made everything correct I am sending difficulty=1 to client via stratum protocol and start to mine. The process looks fine and soon clients begin to submit lots of shares so I get some shares for difficulty 1. I need to calculate (my average hash rate for example for last hour) of the pool according to the shares amount I've get. I take a look to this page: <a href="https://en.bitcoin.it/wiki/Difficulty" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Difficulty</a> And I got two questions.</p>

<p>1) I've found that I need to calculate avg 4,294,967,296 hashes for difficulty 1 but as I've found my clients generate much less hashes (according to the mining tools info it's about 30khash/s in common) but they still sends lots of valid shares to server. So actually I can't understand - is that ok, that several desktop PC could generate a lot of shares for difficulty 1.</p>

<p>2) I can't understand the hashrate calculating algorithm. My final goal right now is to calculating of pool avg hashrate based on shares count, and difficulty which i send to my clients. I take a look to this <a href="https://bitcoin.stackexchange.com/questions/5299/what-is-the-correct-algorithm-to-calculate-worker-pool-hashrate">What is the correct algorithm to calculate worker &amp; pool hashrate</a> and try to calculate hash rate according to my last hour of testing. Server got 120 new shares from miners its results in 143,165,576/s (143 mHashes) but the minners tools show other numbers.</p>

<p>Thanks in advance.</p>

<mining-pools>
Question about pool hashrate
DevKun
# Question about pool hashrate

(Asked by: username_0 on 2014-06-25)

Actually I am working with some small academic project right now and I am newbie in crypto currencies. This project is primitive mining pool for cryptocurrency, as a base cryptocurrency I am using dogecoin (don't ask why, i just liked the name). I've read a lot of information, looks through lots of projects and actually I've created it. So I could connect with the mining tool to my pool right now and start to mine. if I made everything correct I am sending difficulty=1 to client via stratum protocol and start to mine. The process looks fine and soon clients begin to submit lots of shares so I get some shares for difficulty 1. I need to calculate (my average hash rate for example for last hour) of the pool according to the shares amount I've get. I take a look to this page: <https://en.bitcoin.it/wiki/Difficulty> And I got two questions.

1) I've found that I need to calculate avg 4,294,967,296 hashes for difficulty 1 but as I've found my clients generate much less hashes (according to the mining tools info it's about 30khash/s in common) but they still sends lots of valid shares to server. So actually I can't understand - is that ok, that several desktop PC could generate a lot of shares for difficulty 1.

2) I can't understand the hashrate calculating algorithm. My final goal right now is to calculating of pool avg hashrate based on shares count, and difficulty which i send to my clients. I take a look to this [What is the correct algorithm to calculate worker & pool hashrate](https://bitcoin.stackexchange.com/questions/5299/what-is-the-correct-algorithm-to-calculate-worker-pool-hashrate) and try to calculate hash rate according to my last hour of testing. Server got 120 new shares from miners its results in 143,165,576/s (143 mHashes) but the minners tools show other numbers.

Thanks in advance.

**Tags:** mining-pools


---

## 1 answers

### Answer by username_1 on 2014-06-25. Score: 1 | Accepted answer

Most likely, you are considering 2^16 to be difficulty 1, not 2^32. 2^32 is a common base for SHA256d coins like Bitcoin. 2^16 is common for scrypt coins like Dogecoin.

> **Comments:**
> **username_0**: Thx a lot, 2^16 is looks fine. There are really not so much info about SCRYPT. Thx.  

---

