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 ?
Asked
Active
Viewed 65 times
0
-
What coin are you mining? What hardware/software are you using? What hash rate? It makes a huge difference. – David Schwartz Dec 22 '17 at 03:45
-
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 Dec 22 '17 at 05:41
-
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 Dec 22 '17 at 08:04
-
With most modern miners, it's not an issue. They finish a work unit so fast it's a non issue. – David Schwartz Dec 22 '17 at 08:05
-
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 Dec 22 '17 at 14:55
-
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 Dec 23 '17 at 21:54