Mining Payouts'; $ans = getMPayouts($user); $pg .= "
Block | "; $pg .= "Miner Reward | "; $pg .= "N Diff | "; $pg .= "N Range | "; $pg .= "Pool N Avg | "; $pg .= "Your % | "; $pg .= "Your N Diff | "; $pg .= "Your N Avg | "; $pg .= "Your BTC | "; $pg .= "
'.$ans['height:'.$i].' | '; $pg .= ''.btcfmt($ans['minerreward:'.$i]).' | '; $diffused = $ans['diffused:'.$i]; $pg .= ''.difffmt($diffused).' | '; $elapsed = $ans['elapsed:'.$i]; $pg .= ''.howmanyhrs($elapsed).' | '; $phr = $diffused * pow(2,32) / $elapsed; $pg .= ''.siprefmt($phr).'Hs | '; $diffacc = $ans['diffacc:'.$i]; $ypct = $diffacc * 100 / $diffused; $pg .= ''.number_format($ypct, 2).'% | '; $pg .= ''.difffmt($diffacc).' | '; $hr = $diffacc * pow(2,32) / $elapsed; $pg .= ''.dsprate($hr).' | '; $pg .= ''.btcfmt($ans['amount:'.$i]).' | '; $pg .= "