api: add mbtc_mh_factor (mBTC/MH) to status api

1000 means mBTC/GH
0.001  for mBTC/kH
This commit is contained in:
Tanguy Pruvot 2018-05-28 11:32:17 +02:00
parent ab24ba8145
commit 5fcb58e9c9

View file

@ -82,6 +82,7 @@ class ApiController extends CommonController
"estimate_current" => $price, "estimate_current" => $price,
"estimate_last24h" => $avgprice, "estimate_last24h" => $avgprice,
"actual_last24h" => $btcmhday1, "actual_last24h" => $btcmhday1,
"mbtc_mh_factor" => $algo_unit_factor,
"hashrate_last24h" => (double) $hashrate1, "hashrate_last24h" => (double) $hashrate1,
); );
if(YAAMP_RENTAL) { if(YAAMP_RENTAL) {