From de0ef9bad7b1d7b4e2478d1c6c6c7b8cb607cbaf Mon Sep 17 00:00:00 2001
From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com>
Date: Thu, 31 Aug 2023 22:37:56 +0200
Subject: [PATCH] www stratumHostname and Port Difficulty
www stratumHostname and Port Difficulty
---
www/app/templates/account/index.hbs | 41 ++++++++++++++++++-----------
1 file changed, 26 insertions(+), 15 deletions(-)
diff --git a/www/app/templates/account/index.hbs b/www/app/templates/account/index.hbs
index bf3137e..0957828 100644
--- a/www/app/templates/account/index.hbs
+++ b/www/app/templates/account/index.hbs
@@ -1,6 +1,6 @@
-{{high-charts mode=chartMode chartOptions=chartOptions content=chartData}}
-{{high-charts mode=chartMode chartOptions=shareChart content=chartData}}
+ {{high-charts mode=chartMode chartOptions=chartOptions content=chartData}}
+ {{high-charts mode=chartMode chartOptions=shareChart content=chartData}}
{{#if model.workers}}
Your Workers
@@ -10,6 +10,8 @@
ID |
Hashrate (rough, short average) |
Hashrate (accurate, long average) |
+ Hostname |
+ Port Difficulty |
Blocks |
Valid / Stale / Invalid 24h |
Last Share |
@@ -17,29 +19,38 @@
{{#each-in model.workers as |k v|}}
-
- | {{k}} |
- {{format-hashrate v.hr}} {{#if v.w_stat_s}}{{else}}{{/if}} |
- {{format-hashrate v.hr2}} {{#if v.w_stat}}{{else}}{{/if}} |
- {{v.blocks}} |
- {{v.valid}} ({{v.v_per}}%) / {{v.stale}} ({{v.s_per}}%) / {{v.invalid}} ({{v.i_per}}%) |
- {{format-relative (seconds-to-ms v.lastBeat)}} |
-
+
+ | {{k}} |
+ {{format-hashrate v.hr}} {{#if v.w_stat_s}}{{else}}{{/if}} |
+ {{format-hashrate v.hr2}} {{#if v.w_stat}}{{else}}{{/if}} |
+ {{v.hostname}} |
+ {{format-hashrate v.portDiff}} |
+ {{v.blocks}} |
+ {{v.valid}} ({{v.v_per}}%) / {{v.stale}}
+ ({{v.s_per}}%) / {{v.invalid}} ({{v.i_per}}%) |
+ {{format-relative (seconds-to-ms v.lastBeat)}} |
+
{{/each-in}}
{{else}}
-
No workers online
+
No workers online
{{/if}}
Notice:
- Your average hashrate will be smoothly adjusted until you have shares to fullfill estimation window.
- There are two windows, long and short, first is equal to about 30 minutes and long window is usually equal to 3 hours.
+ Your average hashrate will be smoothly adjusted until you have shares to fullfill estimation window.
+ There are two windows, long and short, first is equal to about 30 minutes and long window is usually equal to 3
+ hours.
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.
-
+
\ No newline at end of file