Skip to content

Commit

Permalink
exclude pos block
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmeszaros committed Mar 19, 2018
1 parent 8108c2c commit a299cbd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coinEstimates/coinEstimates.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,11 @@
print "\n";
break;
case 'lux':
// Create JSON file for each algo
$helper->tableToJSON('https://whattomine.com/coins/212-lux-phi1612?hr=10&d_enabled=true&d=' . $network_info['difficulty'] . '&p=300.0&fee=0.0&cost=0.0&hcost=0.0&commit=Calculate', TRUE, '', NULL, NULL, FALSE, FALSE, FALSE, FALSE, TRUE, NULL, $coin);
// Don't calc with POS blocks
if ($network_info['difficulty'] > 100) {
// Create JSON file for each algo
$helper->tableToJSON('https://whattomine.com/coins/212-lux-phi1612?hr=10&d_enabled=true&d=' . $network_info['difficulty'] . '&p=300.0&fee=0.0&cost=0.0&hcost=0.0&commit=Calculate', TRUE, '', NULL, NULL, FALSE, FALSE, FALSE, FALSE, TRUE, NULL, $coin);
}
print "\n";
break;
case 'bsd':
Expand Down

0 comments on commit a299cbd

Please sign in to comment.