diff --git a/pool/page_mpayouts.php b/pool/page_mpayouts.php new file mode 100644 index 00000000..16dfcc54 --- /dev/null +++ b/pool/page_mpayouts.php @@ -0,0 +1,57 @@ +Mining Payouts'; + + $ans = getMPayouts($user); + + $pg .= "
Block | "; + $pg .= "Miner Reward | "; + $pg .= "Payout Diff | "; + $pg .= "Elapsed | "; + $pg .= "Your % | "; + $pg .= "Your Diff | "; + $pg .= "Your Avg Hs | "; + $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).' | '; + $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 .= "