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

Feature request khash #3

Open
brianhenson opened this issue Dec 17, 2013 · 3 comments
Open

Feature request khash #3

brianhenson opened this issue Dec 17, 2013 · 3 comments

Comments

@brianhenson
Copy link

Instead of MHS can we make it where it detects if your running a scrypt coin and change to Khash? Or is there a way to change the code and display Khashs

@Explas
Copy link

Explas commented Feb 6, 2014

What's the big problem here? you can see that you're mining @ let's say 0.7 MH/s so it means you get ~700kh/s

@bsharper
Copy link
Owner

bsharper commented Feb 6, 2014

This could actually be done in the server-config.json file as well.

The workerHeaders array expects its elements to be either a string or an array. If it's an array, it assumes the first element is the name of the property and the second element is the function that transforms the data into whatever is displayed.

So for instance, currently the MHS property is simply "MHS av". Change it to ["MHS av", mhsToKhsAv].

Then in mon-worker-report.js, add

function mhsToKhsAv(dt, worker) {
return dt["MHS av"] * 1000;
}

@brianhenson
Copy link
Author

I will have to try that. It was more an look and feel issue than a bug.

On Thu, Feb 6, 2014 at 8:07 AM, bsharper [email protected] wrote:

This could actually be done in the server-config.json file as well.

The workerHeaders array expects its elements to be either a string or an
array. If it's an array, it assumes the first element is the name of the
property and the second element is the function that transforms the data
into whatever is displayed.

So for instance, currently the MHS property is simply "MHS av". Change it
to ["MHS av", mhsToKhsAv].

Then in mon-worker-report.js, add

function mhsToKhsAv(dt, worker) {
return dt["MHS av"] * 1000;
}

Reply to this email directly or view it on GitHubhttps://github.com//issues/3#issuecomment-34320925
.

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