diff --git a/pool/page.php b/pool/page.php index 0f92ece8..58804772 100644 --- a/pool/page.php +++ b/pool/page.php @@ -231,7 +231,12 @@ function pgtop($dotop, $user, $douser) } if (isset($info['blockerr'])) + { + $rej = $info['blockerr']; $per = number_format($info['blockerr'], 0); + if (isset($info['blockacc']) && ($acc+$rej) > 0) + $per .= ' ('.number_format(100.0*$rej/($acc+$rej), 3).'%)'; + } if (isset($info['u_hashrate5m'])) { @@ -282,6 +287,9 @@ function pgtop($dotop, $user, $douser) $top .= '
'; $top .= 'Shares:'; $top .= "$pac"; + $top .= '
'; + $top .= 'Rejects:'; + $top .= "$per"; $top .= ''; $top .= 'Pool, Last Block:'; $top .= "$plb";