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

Wrong accepted hash for lyra2rev2 #62

Closed
coolinger opened this issue Dec 12, 2015 · 8 comments
Closed

Wrong accepted hash for lyra2rev2 #62

coolinger opened this issue Dec 12, 2015 · 8 comments

Comments

@coolinger
Copy link

When using lyra2rev2 to nicehash the accepted hashrate is way off. It shows about 50G when it is only 190M. Also the difficulty is way off. Real 128 shown 20278476.371434607.

Am I missing some configuration setting?

Keep up the great work!

@Stratehm
Copy link
Owner

I will need the log file with a DEBUG level to check what happens.

@coolinger
Copy link
Author

Hare is a log file over 10 minutes. In this time the Accepted Difficulty raised up until 2362.
At the end, Accepted Hashrate was at ~16G.

Thanks!
stratum-proxy.log.txt

Stratehm added a commit that referenced this issue Dec 18, 2015
modify the
Hashrate estimation for algo other than SHA-256 an Scrypt.
@Stratehm
Copy link
Owner

Could you try the new beta-release (0.8.1-SNAPSHOT) adn configure the option "hashesPerShareDiff1Divider" with a value of 256 ?

@coolinger
Copy link
Author

The hashrate seems ok (67,109 MH/s in proxy, 66.2140 in nicehash)
The difficulty is still wrong: 37.676 in proxy, 32.00000000 in nicehash.

I put the option inside the proxy configuration, not inside the pool configuration. Correct?

@Stratehm
Copy link
Owner

Yes, correct.

For the difficulty, unfortunately I do not see any problem in your log file.

Also the difficulty is way off. Real 128 shown 20278476.371434607

You see 20278476 in the Web client of the proxy and 128 on the Nicehash website, right ? What is the difficulty reported by your miner ?

@coolinger
Copy link
Author

At this very moment:

Proxy says:
Uptime: 2 Days
Accepted difficulty: 135.154
Rejected difficulty: 16
Accepted hashrate: 13,422 MH/s
Rejected hashrate: 0 H/s

Miner says:
NAME=ccminer
VER=1.5.74-git(SP-MOD)
API=1.3
ALGO=lyra2v2
GPUS=1
KHS=12843.89
ACC=16681
REJ=1
ACCMN=7.929
DIFF=8.000000
UPTIME=126225
TS=1450591594

Nicehash says:
Speed accepted: 13.9500
Speed rejected: 0.0000 (0.00%)
Diff: 8.00000000
Time (minutes): 2246

The difficulty seems to add up over time...

Regards

Am 18. Dezember 2015 23:49:00 MEZ, schrieb Stratehm
[email protected]:

Yes, correct.

For the difficulty, unfortunately I do not see any problem in your
log file.

    Also the difficulty is way off. Real 128 shown 20278476.371434607

You see 20278476 in the Web client of the proxy and 128 on the
Nicehash website, right ? What is the difficulty reported by your
miner ?

—
Reply to this email directly or view it on GitHub
<https://github.com/Stratehm/stratum-proxy/issues/62#issuecomment-165914419>.

@Stratehm
Copy link
Owner

I see... The Accepted difficulty field is not the actual pool difficulty. It is the cumulated difficulty accepted by the pool (so it indeed increases over time, each time you submit a valid share).

The current pool difficulty is displayed in the Pools page by the Difficulty field.

@coolinger
Copy link
Author

Ok, my fault! Thanks for fixing the hashrate display, very appreciated!

Wish you a good time and a happy new year!

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

2 participants