adding proper avg shares calculation based on target diff and network diff
This commit is contained in:
parent
8c01351b76
commit
38f2ae5af7
@ -34,6 +34,7 @@ $aGlobal = array(
|
||||
'blockexplorer' => $config['blockexplorer'],
|
||||
'chaininfo' => $config['chaininfo'],
|
||||
'config' => array(
|
||||
'targetdiff' => $config['difficulty'],
|
||||
'currency' => $config['currency'],
|
||||
'txfee' => $config['txfee'],
|
||||
'payout_system' => $config['payout_system'],
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="leftheader">Est. Avg. Shares per Round</td>
|
||||
<td>{($ESTTIME * $GLOBAL.sharerate)|number_format:"0"}</td>
|
||||
<td>{(pow(2, 32 - $GLOBAL.config.targetdiff) * $DIFFICULTY)|number_format:"0"}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="leftheader">Time Since Last Block</td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user