From 47dd2e1e6007f9c151b31627f94268b9d6a6a204 Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 13 Jan 2016 21:29:02 +1100 Subject: [PATCH] php - add the calculated pool hash rate to the ppln2 output --- pool/page_pplns2.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pool/page_pplns2.php b/pool/page_pplns2.php index 9455b655..398dfa81 100644 --- a/pool/page_pplns2.php +++ b/pool/page_pplns2.php @@ -253,6 +253,11 @@ Block: $fmt = $ans[$name]; break; } + if ($dsp == 'Elapsed Seconds') + { + $pl = $ans['diffacc_total'] * pow(2,32) / $ans['pplns_elapsed']; + $fmt .= ' ' . dsprate($pl); + } $pg .= "$fmt"; $pg .= "\n"; }