[FIX] Target Bits on Dashboard
This commit is contained in:
parent
9d66c2f574
commit
3c537d577e
@ -98,7 +98,7 @@ $data = array(
|
||||
'shares' => array( 'valid' => $aRoundShares['valid'], 'invalid' => $aRoundShares['invalid'], 'invalid_percent' => $dPoolInvalidPercent, 'estimated' => $iEstShares, 'progress' => $dEstPercent ),
|
||||
'price' => $aPrice,
|
||||
'difficulty' => pow(2, $config['difficulty'] - 16),
|
||||
'target_bits' => $config['difficulty']
|
||||
'target_bits' => $coin->getTargetBits()
|
||||
),
|
||||
'system' => array( 'load' => sys_getloadavg() ),
|
||||
'network' => array( 'hashrate' => $dNetworkHashrateAdjusted, 'difficulty' => $dDifficulty, 'block' => $iBlock, 'esttimeperblock' => round($dExpectedTimePerBlock ,2), 'nextdifficulty' => $dEstNextDifficulty, 'blocksuntildiffchange' => $iBlocksUntilDiffChange ),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user