Browse Source

php - change the payments address lookup to blocktrail since blockchain incorrectly reports mining orphans as double spends

master
kanoi 9 years ago
parent
commit
deefac2569
  1. 6
      pool/page_payments.php

6
pool/page_payments.php

@ -7,7 +7,7 @@ function sortheight($a, $b)
#
function dopayments($data, $user)
{
$bc = 'https://blockchain.info/address/';
$bc = 'https://www.blocktrail.com/BTC/address/';
$addr1 = '1KzFJddTvK9TQWsmWFKYJ9fRx9QeSATyrT';
$addr2 = '16dRhawxuR3BmdmkzdzUdgEfGAQszgmtbc';
$addr3 = '1N6LrEDiHuFwSyJYj2GedZM2FGk7kkLjn';
@ -15,8 +15,8 @@ function dopayments($data, $user)
$pg = '<h1>Payments</h1>';
$pg .= 'The payment transactions on blockchain are here:';
$pg .= " <a href='$bc$addr1' target=_blank>BTCa</a>,";
$pg .= " <a href='$bc$addr2' target=_blank>BTCa</a> and";
$pg .= " <a href='$bc$addr3' target=_blank>BTCb</a><br>";
$pg .= " <a href='$bc$addr2' target=_blank>BTCb</a> and";
$pg .= " <a href='$bc$addr3' target=_blank>BTCc</a><br>";
$pg .= "The payments below don't yet show when they have been sent.<br><br>";
$ans = getPayments($user);

Loading…
Cancel
Save