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

incorrect luck days #10

Closed
Z1gun opened this issue Nov 20, 2017 · 3 comments
Closed

incorrect luck days #10

Z1gun opened this issue Nov 20, 2017 · 3 comments

Comments

@Z1gun
Copy link

Z1gun commented Nov 20, 2017

In libs/stats.js

 var _blocktime = 160;
				var _networkHashRate = parseFloat(coinStats.poolStats.networkSols) * 1.2;
				var _myHashRate = (coinStats.hashrate / 1000000) * 2;
				coinStats.luckDays =  ((_networkHashRate / _myHashRate * _blocktime) / (24 * 60 * 60)).toFixed(3);
coinStats.luckHours = ((_networkHashRate / _myHashRate * _blocktime) / (60 * 60)).toFixed(3);

But BTG block time is 600sec

@gateway
Copy link

gateway commented Nov 20, 2017

interesting.. thats true.. hmm.. this might cause pool opts to freak out.. right now it seems wrong and when boosting it to the proper ave block time 10-11 minutes.. luck time will increase big time.

@kevinmarson
Copy link

@Z1gun created a pull request for you (#13)

@martin-key
Copy link

Fixed

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

4 participants