reduced blocks count to fixed 20
This commit is contained in:
parent
036df27bf1
commit
7b0ae8d86e
@ -5,7 +5,7 @@ if (!defined('SECURITY')) die('Hacking attempt');
|
||||
if (!$user->isAuthenticated()) header("Location: index.php?page=home");
|
||||
|
||||
// Grab the last blocks found
|
||||
$iLimit = 30;
|
||||
$iLimit = 20;
|
||||
$aBlocksFoundData = $statistics->getBlocksFound($iLimit);
|
||||
$aBlockData = $aBlocksFoundData[0];
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<caption>Block Shares</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
{section block $BLOCKSFOUND step=-1 max=20}
|
||||
{section block $BLOCKSFOUND step=-1}
|
||||
<th scope="col">{$BLOCKSFOUND[block].height}</th>
|
||||
{/section}
|
||||
</th>
|
||||
@ -11,13 +11,13 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">Expected</th>
|
||||
{section block $BLOCKSFOUND step=-1 max=20}
|
||||
{section block $BLOCKSFOUND step=-1}
|
||||
<td>{round(pow(2,32 - $GLOBAL.config.targetdiff) * $BLOCKSFOUND[block].difficulty)}</td>
|
||||
{/section}
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">Actual</th>
|
||||
{section block $BLOCKSFOUND step=-1 max=20}
|
||||
{section block $BLOCKSFOUND step=-1}
|
||||
<td>{$BLOCKSFOUND[block].shares}</td>
|
||||
{/section}
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user