Mining Rewards';
$ans = getMPayouts($user);
$pg .= "The rewards you've earned for each block the pool has found.
";
$pg .= 'See the ';
$pg .= makeLink('payments');
$pg .= "Payments page for the payments you've been sent.
";
$pg .= "
Block | '; $pg .= 'Block UTC | '; $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 .= ''.gmdate('j/M H:i',$ans['blockcreatedate:'.$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).' | '; $amount = $ans['amount:'.$i]; $totamt += $amount; $pg .= ''.btcfmt($amount).' | '; $pg .= "
Total: | '; $pg .= ''; $pg .= ' | '.btcfmt($totamt).' | '; $pg .= "