<p>I was testing mining algorithm for solo and noticed that server keep sending the shares to work on (semetimes every 1 sec). In case of solo mining do I need to keep mining all the existing shares I received or only take the the latest one and discard previous ?</p>

CC BY-SA 3.0
2017-12-22T03:45:10.100Z
What coin are you mining? What hardware/software are you using? What hash rate? It makes a huge difference.
David Schwartz
CC BY-SA 3.0
2017-12-22T05:41:43.240Z
Bitcoin. My question is not on luck factor. Its about what's expected for client when it keep receiving multiple requests while its still working on previous request.
nQuant
CC BY-SA 3.0
2017-12-22T08:04:49.790Z
It really depends on the specifics of your hardware. How long does it take to finish a work unit? How much of a penalty is there for stopping a work unit in progress (if you can)? And so on. It's a complex tradeoff.
David Schwartz
CC BY-SA 3.0
2017-12-22T08:05:56.027Z
With most modern miners, it's not an issue. They finish a work unit so fast it's a non issue.
David Schwartz
CC BY-SA 3.0
2017-12-22T14:55:28.753Z
Thanks, so if I understand you correctly in order to solve a block one has to finish solving all the shares received and submit to server/node before anyone else   even for solo mining. Is that correct ?
nQuant
CC BY-SA 3.0
2017-12-23T21:54:54.247Z
No. Mining is only a race in the very rare case that two people mine a block at almost exactly the same time.
David Schwartz
<solo-mining>
How to handle multiple share mining requests in solo
nQuant
# How to handle multiple share mining requests in solo

(Asked by: username_0 on 2017-12-22)

I was testing mining algorithm for solo and noticed that server keep sending the shares to work on (semetimes every 1 sec). In case of solo mining do I need to keep mining all the existing shares I received or only take the the latest one and discard previous ?

**Tags:** solo-mining

> **Comments:**
> **username_1**: What coin are you mining? What hardware/software are you using? What hash rate? It makes a huge difference.  
> **username_0**: Bitcoin. My question is not on luck factor. Its about what's expected for client when it keep receiving multiple requests while its still working on previous request.  
> **username_1**: It really depends on the specifics of your hardware. How long does it take to finish a work unit? How much of a penalty is there for stopping a work unit in progress (if you can)? And so on. It's a complex tradeoff.  
> **username_1**: With most modern miners, it's not an issue. They finish a work unit so fast it's a non issue.  
> **username_0**: Thanks, so if I understand you correctly in order to solve a block one has to finish solving all the shares received and submit to server/node before anyone else   even for solo mining. Is that correct ?  
> **username_1**: No. Mining is only a race in the very rare case that two people mine a block at almost exactly the same time.  

---

## 0 answers

