Browse Source

miner.php mcast ignore duplicate replies

nfactor-troky
Kano 11 years ago
parent
commit
bb0a200fc0
  1. 7
      miner.php

7
miner.php

@ -451,9 +451,12 @@ function getrigs()
$mdes = ''; $mdes = '';
if (strlen($mdes) > 0) if (strlen($mdes) > 0)
$rigs[] = "$ip:$rp:$mdes"; $rig = "$ip:$rp:$mdes";
else else
$rigs[] = "$ip:$rp"; $rig = "$ip:$rp";
if (!in_array($rig, $rigs))
$rigs[] = $rig;
} }
} }
if ((microtime(true) - $stt) >= $mcasttimeout) if ((microtime(true) - $stt) >= $mcasttimeout)

Loading…
Cancel
Save