Skip to content

Commit

Permalink
api: add mbtc_mh_factor (mBTC/MH) to status api
Browse files Browse the repository at this point in the history
1000 means mBTC/GH
0.001  for mBTC/kH
  • Loading branch information
tpruvot committed May 28, 2018
1 parent ab24ba8 commit 5fcb58e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/yaamp/modules/api/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function actionStatus()
"estimate_current" => $price,
"estimate_last24h" => $avgprice,
"actual_last24h" => $btcmhday1,
"mbtc_mh_factor" => $algo_unit_factor,
"hashrate_last24h" => (double) $hashrate1,
);
if(YAAMP_RENTAL) {
Expand Down

0 comments on commit 5fcb58e

Please sign in to comment.