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

dashboard view #1

Open
tjwebb opened this issue Sep 13, 2014 · 21 comments
Open

dashboard view #1

tjwebb opened this issue Sep 13, 2014 · 21 comments
Assignees

Comments

@tjwebb
Copy link
Member

tjwebb commented Sep 13, 2014

show table of miners with the following columns (from left to right):

  • status icon (checkmark or fail mark)
  • name of miner
  • name of pool it is connected to
  • current hashrate in gh/s

api routes:

  • /miner returns a list of registered miners (name, pool)
  • /miner/:id/status (status, hashrate)
@tjwebb
Copy link
Member Author

tjwebb commented Sep 13, 2014

miner list is probably just a bootstrap table

@qwo
Copy link
Contributor

qwo commented Sep 15, 2014

Example dump from cgi-miner-api

I don't see any unique identifies, how does a miner identify itself?

{ Elapsed: 10,
Algorithm: 'sse2_64',
'MHS av': 3.8,
'Found Blocks': 0,
Getworks: 1,
Accepted: 0,
Rejected: 0,
'Hardware Errors': 0,
Utility: 0,
Discarded: 0,
Stale: 0,
'Get Failures': 0,
'Local Work': 3,
'Remote Failures': 0,
'Network Blocks': 1,
'Total MH': 39.5336,
'Work Utility': 0,
'Difficulty Accepted': 0,
'Difficulty Rejected': 0,
'Difficulty Stale': 0,
'Best Share': 0 }

@tjwebb
Copy link
Member Author

tjwebb commented Sep 15, 2014

A "name" will be stored in the database, which will service as a natural
key. For now you can make up names

On Sun, Sep 14, 2014 at 8:28 PM, Stanley Zheng notifications@github.com
wrote:

Example dump from cgi-miner-api

I don't see any unique identifies, how does a miner identify itself?

{ Elapsed: 10,
Algorithm: 'sse2_64',
'MHS av': 3.8,
'Found Blocks': 0,
Getworks: 1,
Accepted: 0,
Rejected: 0,
'Hardware Errors': 0,
Utility: 0,
Discarded: 0,
Stale: 0,
'Get Failures': 0,
'Local Work': 3,
'Remote Failures': 0,
'Network Blocks': 1,
'Total MH': 39.5336,
'Work Utility': 0,
'Difficulty Accepted': 0,
'Difficulty Rejected': 0,
'Difficulty Stale': 0,
'Best Share': 0 }


Reply to this email directly or view it on GitHub
#1 (comment).

@tjwebb
Copy link
Member Author

tjwebb commented Sep 15, 2014

@tjwebb
Copy link
Member Author

tjwebb commented Sep 15, 2014

I'll try to get real data in there soon so everything isn't so abstract

@tjwebb
Copy link
Member Author

tjwebb commented Sep 16, 2014

how's this coming? I'd like to meet up tomorrow to see what you have. I haven't gotten any questions, which usually isn't a good sign.

@tjwebb
Copy link
Member Author

tjwebb commented Sep 16, 2014

@stanzheng

@qwo
Copy link
Contributor

qwo commented Sep 18, 2014

  • Total Hash Rate
  • Operational Status
  • Daily Revenue

@qwo
Copy link
Contributor

qwo commented Sep 20, 2014

@tjwebb been trying to setup the router correctly for the edit page.

Not sure whats wrong, heres the router https://github.com/hashware/hashpanel.io/blob/gh-pages/app.js#L17-37

heres the view im trying to navigate to https://github.com/hashware/hashpanel.io/blob/gh-pages/miner/edit.html

@tjwebb
Copy link
Member Author

tjwebb commented Sep 21, 2014

On Sat, Sep 20, 2014 at 6:37 PM, Stanley Zheng notifications@github.com
wrote:

@tjwebb https://github.com/tjwebb been trying to setup the router
correctly for the edit page.

Not sure whats wrong, heres the router
https://github.com/hashware/hashpanel.io/blob/gh-pages/app.js#L17-37

heres the view im trying to navigate to
https://github.com/hashware/hashpanel.io/blob/gh-pages/miner/edit.html


Reply to this email directly or view it on GitHub
#1 (comment).

@tjwebb
Copy link
Member Author

tjwebb commented Sep 21, 2014

Is there any way currently to get to the edit page? Direct URL for tomorrow is fine, we can get Backbone Router working next week

@qwo
Copy link
Contributor

qwo commented Sep 21, 2014

yeah just hit each of the individual servers as you suggested. i guess i haven't hooked it up to pull any data out of local storage or any save funcionality.

@tjwebb
Copy link
Member Author

tjwebb commented Sep 21, 2014

ok. I've got the screenshot for SN presentation, so thanks for working on that this week.

@qwo
Copy link
Contributor

qwo commented Sep 29, 2014

planning on hacking on getting the crud for the server interface. are you interested for me to finish this?

@tjwebb
Copy link
Member Author

tjwebb commented Sep 29, 2014

Yes that would be great, I just haven't found time to finish the backend. I
have to do some xtuple-server work tonight, but I will try to get you a
data feed.

On Mon, Sep 29, 2014 at 4:19 PM, Stanley Zheng notifications@github.com
wrote:

planning on hacking on getting the crud for the server interface. are you
interested for me to finish this?


Reply to this email directly or view it on GitHub
#1 (comment).

@qwo qwo closed this as completed Oct 28, 2014
@qwo qwo reopened this Oct 28, 2014
@qwo
Copy link
Contributor

qwo commented Oct 28, 2014

RE: From the email
All CRUD POST/PUT error out and return 500 from the API.

@tjwebb
Copy link
Member Author

tjwebb commented Oct 28, 2014

is this against the heroku app? post the exact requests you are sending it to cause the 500s so that I can debug this later

@qwo
Copy link
Contributor

qwo commented Oct 28, 2014

I'm using the default Backbone.Model.save() method unless i have to override that? Im not using sails backbone yet so im not sure that is part of the problem.

@tjwebb
Copy link
Member Author

tjwebb commented Oct 28, 2014

Ok then post the object you are trying to save

On Tue, Oct 28, 2014 at 2:31 PM, Stanley Zheng notifications@github.com
wrote:

I'm using the default Backbone.Model.save() method unless i have to
override that? Im not using sails backbone yet so im not sure that is part
of the problem.


Reply to this email directly or view it on GitHub
#1 (comment).

@tjwebb
Copy link
Member Author

tjwebb commented Oct 28, 2014

also can you open a new issue about this?

@qwo
Copy link
Contributor

qwo commented Oct 28, 2014

ok sure.

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