... QQ
Please explain why do you need the diff for every share found. Also note that you can see current target diff by pressing "s" key. Before answering, make sure that you know how solo mining works. I did not add this info because I try to show only useful information in the miner and I don't know how this information can help in solo mining or pool mining.
Thanks for your reply,
what I really need is the
best share found since the miner started displayed when "s" is pressed so I can know if I can hit the current network difficulty or not solo within moderate timeframe (12h -24h).
Displaying the share difficulty along with the share accepted output would also be helpful in determining what the best shares found are with a short timeframe (5m - 15m). There's a sweet spot solo mining but if the bar is set too high I end up in a sour one.
Bottom line is if I can see the difficulty of the shares I'm finding along with the best one found then I can know if I'm able to hit a block or many blocks solo or not.
Regards.
You mine solo, so miner gets "share target = network diff", it means that every share that miner finds will solve a block. Now how it works: miner passes share target to GPU, if share found, GPU will return that share(s). GPU does not return the best share that was found, it would take additional time from GPU. Moreover, it is not necessary as you can calculate how often you will find shares in average. Press "s" and you will see total mining rate(speed) per second and share target. Divide "mining speed" / "Share Target" = "how many shares you will get in one second". For example, share target is 8000MH and mining speed is 80MH/s, it means that you will find 0.01 share per second, i.e. one share per 100 seconds, in average.
Checking best share you found in 5-15 minutes can be funny, but it will not help you in calculations.
PS. Mining solo depends on luck a lot, until you have at least 0.1% of network speed.
I'm simply asking for the same information cgminer provides, you could can just cut & paste -ck's code to save time. The difficulty of the shares found and the difficulty of best share found is absolutely invaluable information when mining.
edit:
Let me give you an example, I mine RANDOM_DAGGER_COIN on a pool for 24 hours. The pool says I found 0 blocks but the miner says my best share just fell short (300G but I needed 305G). I now know that I'll be able solo mine a block within 24 hours if the network hashrate drops just a bit.
The thing is you see blocks come in groups though, not only will I mine at least 2 blocks in 48 hours (with slightly lower network hashrate) I'll mine 3 then I'll jump back on the pool. If the blocks didn't come in groups then they would be evenly spaced out at predictable intervals i.e. not random.