Merge pull request #2001 from iAmShorty/api-calls
[UPDATE] removed baseline shares from api
This commit is contained in:
commit
630ec6ec90
@ -33,7 +33,7 @@ if ($iCurrentPoolHashrate > $dNetworkHashrate) $dNetworkHashrate = $iCurrentPool
|
|||||||
|
|
||||||
// Time in seconds, not hours, using modifier in smarty to translate
|
// Time in seconds, not hours, using modifier in smarty to translate
|
||||||
$iCurrentPoolHashrate > 0 ? $iEstTime = $dDifficulty * pow(2,32) / ($iCurrentPoolHashrate * 1000) : $iEstTime = 0;
|
$iCurrentPoolHashrate > 0 ? $iEstTime = $dDifficulty * pow(2,32) / ($iCurrentPoolHashrate * 1000) : $iEstTime = 0;
|
||||||
$iEstShares = (pow(2, 32 - $config['difficulty']) * $dDifficulty);
|
$iEstShares = $statistics->getEstimatedShares($dDifficulty);
|
||||||
|
|
||||||
// Time since last
|
// Time since last
|
||||||
$now = new DateTime( "now" );
|
$now = new DateTime( "now" );
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user