You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
47 lines
2.4 KiB
47 lines
2.4 KiB
<div class="container"> |
|
{{high-charts mode=chartMode chartOptions=chartOptions content=chartData}} |
|
{{high-charts mode=chartMode chartOptions=shareChart content=chartData}} |
|
{{#if model.workers}} |
|
<h4>Your Workers</h4> |
|
<div class="table-responsive"> |
|
<table class="table table-condensed table-striped"> |
|
<thead> |
|
<tr> |
|
<th>ID</th> |
|
<th>Current Hashrate / Average Hashrate</th> |
|
<th>Hostname</th> |
|
<th>Port Difficulty</th> |
|
<th>Blocks</th> |
|
<th>Valid / Stale / Invalid 24h</th> |
|
<th>Last Share</th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
{{#each-in model.workers as |k v|}} |
|
<tr class="{{if v.offline "warning" "success"}}"> |
|
<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}} / {{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><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> |
|
</tr> |
|
{{/each-in}} |
|
</tbody> |
|
</table> |
|
</div> |
|
{{else}} |
|
<h3>No workers online</h3> |
|
{{/if}} |
|
<div class="alert alert-info" role="alert"> |
|
<span class="sr-only">Notice:</span> |
|
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 1 hours and long window is usually equal to 6 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, |
|
so you can perform maintenance of your rigs. |
|
</div> |
|
<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> |
|
</div> |
|
</div>
|
|
|