oipwg / autominer-frontend

Frontend HTML and JS that is an easy connection and dashboard for the autominer
1 stars 3 forks source link

add an advanced hashrate history screen in dashboard #2

Open DevonJames opened 7 years ago

DevonJames commented 7 years ago

basically what you've already got but taking up a full panel so we can give more detail, and add the following

use this api: POST api.alexandria.io/alexandria/v1/historian/summary { "min-block":$startrange, "max-block":$endrange }

from the response, plot values for the following fields on the left side of the chart pool_hashrate fbd_networkhashrate

and plot values for these fields on the right side of the cart, formatted as $0.0000 (rounded to 4 decimals) fmd_usd flo_spotcost_usd offer_usd