properly sort blocks in graph
This commit is contained in:
parent
88b9d95ff2
commit
538c5ead88
@ -2,7 +2,7 @@
|
|||||||
<table class="stats" style="">
|
<table class="stats" style="">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{section block $BLOCKSFOUND}
|
{section block $BLOCKSFOUND step=-1}
|
||||||
<th scope="col">{$BLOCKSFOUND[block].height}</th>
|
<th scope="col">{$BLOCKSFOUND[block].height}</th>
|
||||||
{/section}
|
{/section}
|
||||||
</th>
|
</th>
|
||||||
@ -10,13 +10,13 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Expected Shares</th>
|
<th scope="row">Expected Shares</th>
|
||||||
{section block $BLOCKSFOUND}
|
{section block $BLOCKSFOUND step=-1}
|
||||||
<td>{(pow(2,32 - $GLOBAL.config.targetdiff) * $BLOCKSFOUND[block].difficulty)}</td>
|
<td>{(pow(2,32 - $GLOBAL.config.targetdiff) * $BLOCKSFOUND[block].difficulty)}</td>
|
||||||
{/section}
|
{/section}
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row">Actual Shares</th>
|
<th scope="row">Actual Shares</th>
|
||||||
{section block $BLOCKSFOUND}
|
{section block $BLOCKSFOUND step=-1}
|
||||||
<td>{$BLOCKSFOUND[block].shares}</td>
|
<td>{$BLOCKSFOUND[block].shares}</td>
|
||||||
{/section}
|
{/section}
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user