Browse Source

php - add the calculated pool hash rate to the ppln2 output

master
kanoi 9 years ago
parent
commit
47dd2e1e60
  1. 5
      pool/page_pplns2.php

5
pool/page_pplns2.php

@ -253,6 +253,11 @@ Block: <input type=text name=blk size=10 value='$blkuse'>
$fmt = $ans[$name];
break;
}
if ($dsp == 'Elapsed Seconds')
{
$pl = $ans['diffacc_total'] * pow(2,32) / $ans['pplns_elapsed'];
$fmt .= ' ' . dsprate($pl);
}
$pg .= "<td class=dr>$fmt</td>";
$pg .= "</tr>\n";
}

Loading…
Cancel
Save