Browse Source

www stratumHostname and Port Difficulty

www stratumHostname and Port Difficulty
master
yuriy0803 2 years ago
parent
commit
de0ef9bad7
  1. 21
      www/app/templates/account/index.hbs

21
www/app/templates/account/index.hbs

@ -10,6 +10,8 @@
<th>ID</th> <th>ID</th>
<th>Hashrate (rough, short average)</th> <th>Hashrate (rough, short average)</th>
<th>Hashrate (accurate, long average)</th> <th>Hashrate (accurate, long average)</th>
<th>Hostname</th>
<th>Port Difficulty</th>
<th>Blocks</th> <th>Blocks</th>
<th>Valid / Stale / Invalid 24h</th> <th>Valid / Stale / Invalid 24h</th>
<th>Last Share</th> <th>Last Share</th>
@ -19,10 +21,17 @@
{{#each-in model.workers as |k v|}} {{#each-in model.workers as |k v|}}
<tr class="{{if v.offline " warning" "success" }}"> <tr class="{{if v.offline " warning" "success" }}">
<td>{{k}}</td> <td>{{k}}</td>
<td>{{format-hashrate v.hr}} {{#if v.w_stat_s}}<i class="fa fa-arrow-up" style="color:rgb(0, 9, 128)" aria-hidden="true"></i>{{else}}<i class="fa fa-arrow-down" style="color:red" aria-hidden="true"></i>{{/if}}</td> <td>{{format-hashrate v.hr}} {{#if v.w_stat_s}}<i class="fa fa-arrow-up" style="color:rgb(0, 9, 128)"
<td>{{format-hashrate v.hr2}} {{#if v.w_stat}}<i class="fa fa-arrow-up" style="color:rgb(0, 9, 128)" aria-hidden="true"></i>{{else}}<i class="fa fa-arrow-down" style="color:red" aria-hidden="true"></i>{{/if}}</td> aria-hidden="true"></i>{{else}}<i class="fa fa-arrow-down" style="color:red"
aria-hidden="true"></i>{{/if}}</td>
<td>{{format-hashrate v.hr2}} {{#if v.w_stat}}<i class="fa fa-arrow-up" style="color:rgb(0, 9, 128)"
aria-hidden="true"></i>{{else}}<i class="fa fa-arrow-down" style="color:red"
aria-hidden="true"></i>{{/if}}</td>
<td>{{v.hostname}}</td>
<td><span class="label label-success">{{format-hashrate v.portDiff}}</span></td>
<td>{{v.blocks}}</td> <td>{{v.blocks}}</td>
<td><span class="text-green">{{v.valid}}</span> ({{v.v_per}}%) / <span class="text-yellow">{{v.stale}}</span> ({{v.s_per}}%) / <span class="text-red">{{v.invalid}}</span> ({{v.i_per}}%)</td> <td><span class="text-green">{{v.valid}}</span> ({{v.v_per}}%) / <span class="text-yellow">{{v.stale}}</span>
({{v.s_per}}%) / <span class="text-red">{{v.invalid}}</span> ({{v.i_per}}%)</td>
<td>{{format-relative (seconds-to-ms v.lastBeat)}}</td> <td>{{format-relative (seconds-to-ms v.lastBeat)}}</td>
</tr> </tr>
{{/each-in}} {{/each-in}}
@ -35,11 +44,13 @@
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
<span class="sr-only">Notice:</span> <span class="sr-only">Notice:</span>
Your average hashrate will be smoothly adjusted until you have shares to fullfill estimation window.<br /> Your average hashrate will be smoothly adjusted until you have shares to fullfill estimation window.<br />
There are two windows, long and short, first is equal to about 30 minutes and long window is usually equal to 3 hours.<br/> There are two windows, long and short, first is equal to about 30 minutes and long window is usually equal to 3
hours.<br />
Dead (sick) workers will be highlighted in a table of workers if they didn't submit a share for 1/2 of short window, Dead (sick) workers will be highlighted in a table of workers if they didn't submit a share for 1/2 of short window,
so you can perform maintenance of your rigs. so you can perform maintenance of your rigs.
</div> </div>
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
<strong>Your bulk stats JSON API URL:</strong> <a href="/api/accounts/{{model.login}}">/api/accounts/{{model.login}}</a> <strong>Your bulk stats JSON API URL:</strong> <a
href="/api/accounts/{{model.login}}">/api/accounts/{{model.login}}</a>
</div> </div>
</div> </div>
Loading…
Cancel
Save