Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding info on share difficulty? #31

Open
donSchoe opened this issue Aug 26, 2013 · 4 comments
Open

Adding info on share difficulty? #31

donSchoe opened this issue Aug 26, 2013 · 4 comments

Comments

@donSchoe
Copy link

Hi, would it be possible to add an verbose output of the solved share difficulty as cgminer does?

@pooler
Copy link
Owner

pooler commented Aug 26, 2013

It's possible, but I'm not sure it would be a good idea, because it's just confusing to most people.
It's important to understand that a hash has no intrinsic "difficulty"; what cgminer displays is the difficulty relative to the maximum target that the found hash would meet. Most people don't fully understand the probability basis of pooled mining, and have a tendency to feel cheated when they submit a share that could meet a difficulty-4 target, but only get the reward of a difficulty-1 target because that's the difficulty their pool set. The pay-on-target reward system was apparently developed for this very reason: people constantly asking "so are the higher shares worth more?" (and the answer being "no").
That said, I'm open to discussion.

@ge0rg
Copy link

ge0rg commented Jan 9, 2014

I've made a small patch that displays the network difficulty on each received block from a stratum server. The output is now:

[2014-01-09 17:08:54] Stratum detected new block, diff: 303.72

The code was shamelessly stolen borrowed from cgminer. Feel free to apply.

@pooler
Copy link
Owner

pooler commented Jan 9, 2014

Honestly I don't see much interest in displaying the network difficulty every time the server requests a work restart (by the way, I realize the "Stratum detected new block" message is misleading, and I am considering changing it). Not only because the network difficulty stays the same for days, but also because the miner does not use this information in any way.

@ge0rg
Copy link

ge0rg commented Jan 9, 2014

You are right, this is only relevant to curious users of multicoin-pools, who want to see if the pool has switched currencies. On such pools, displaying the difficulty on every new block is not too much overhead, though a dedicated message a la cgminer would be more elegant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants