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

Net hash rate and your stats hash rate showing 4x higher. Pool hash rate OK. #58

Open
decivox opened this issue Jul 12, 2014 · 5 comments

Comments

@decivox
Copy link

decivox commented Jul 12, 2014

For some reason, the net hash and the hash that shows up when you enter your wallet info are displaying 4 times higher than they should. The pool hash is showing correctly. I thought it might have been a bug to do with having clusterforks set to auto since I have 4 cores. I set that to 1, and it still does it though. Is there any reason that this is happening? My pool is currently on XDN if it makes a difference.

@decivox
Copy link
Author

decivox commented Jul 12, 2014

It appears that after some time, the your hast does come in line. The network hash always remains 4x higher though. Left it on for 24 hours +

@dayas
Copy link

dayas commented Jul 14, 2014

this is not a problem with the pool, this is because you have incorrect target time for XDN.

@decivox
Copy link
Author

decivox commented Jul 14, 2014

Makes sense, considering Ducknote has four times the target time of Monero. Which file do you edit for that? Ive changed the target time in the config.json many times finding optimal settings for my pool and its had no effect on the net hash (as expected). You help is appreciated!

@dayas
Copy link

dayas commented Jul 15, 2014

The pool code is specifically written for Monero, but since Monero is a Cryptonote coin the code works with pretty much all other Cryptonote, but you have to understand the coins and there metrics such as block target times.

Changing Block Target Times:
To adjust the block target time in the code, if you are setting up a pool for a coin other than Monero, you need to edit the index.html file located in the website_example directory.

In the home.html file, "website_example/pages/home.html", line # 207 reads
updateText('networkHashrate', getReadableHashRateString(lastStats.network.difficulty / 60) + '/sec');

The "60" value is the coins block target time. This will need to be updated to represent the target time of whatever coin you are trying to setup a pool for.

Also, to setup a functioning pool for coins other than Monero, you will need to modify the coinunits.
And for the calculator to work you will need to modify line 336 of the home.html file.

@sonius575
Copy link

What did you modify within index.html to correct poolhashrate?

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