diff --git a/docs/html/index.html b/docs/html/index.html
index 40c3a58..82db07c 100644
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -85,7 +85,10 @@ async function load_data() {
let network_stats = JSON.parse(await network_stats_req.text());
let pool_hashrate = pool_stats.pool_statistics.hashRate / 1e6;
+ let pplns_duration = pool_stats.pool_statistics.pplnsWeight / pool_stats.pool_statistics.hashRate;
+
document.getElementById("pool_hashrate").innerHTML = pool_hashrate.toFixed(3) + ' MH/s';
+ document.getElementById("pplns_duration").innerHTML = elapsedTimeStr(0, pplns_duration, 0) + ' ' + Math.floor(pplns_duration % 60) + 's';
document.getElementById("pool_miners").innerHTML = pool_stats.pool_statistics.miners;
let ts = Math.floor(Date.now() / 1000);
@@ -184,7 +187,8 @@ function toggle_menu(name) {
-
Pool |
@@ -198,6 +202,7 @@ function toggle_menu(name) {
| | |
Hashrate | N/A | N/A |
Miners | N/A | |
+PPLNS window | N/A | |
Last block | N/A | N/A |
Total blocks | N/A | |
Current effort | N/A | |
diff --git a/docs/html/mini/index.html b/docs/html/mini/index.html
index b87b26f..d1c1712 100644
--- a/docs/html/mini/index.html
+++ b/docs/html/mini/index.html
@@ -85,7 +85,10 @@ async function load_data() {
let network_stats = JSON.parse(await network_stats_req.text());
let pool_hashrate = pool_stats.pool_statistics.hashRate / 1e6;
+ let pplns_duration = pool_stats.pool_statistics.pplnsWeight / pool_stats.pool_statistics.hashRate;
+
document.getElementById("pool_hashrate").innerHTML = pool_hashrate.toFixed(3) + ' MH/s';
+ document.getElementById("pplns_duration").innerHTML = elapsedTimeStr(0, pplns_duration, 0) + ' ' + Math.floor(pplns_duration % 60) + 's';
document.getElementById("pool_miners").innerHTML = pool_stats.pool_statistics.miners;
let ts = Math.floor(Date.now() / 1000);
@@ -184,7 +187,8 @@ function toggle_menu(name) {
-P2Pool mini
Decentralized Monero mining pool
+P2Pool mini
Pool |
@@ -198,6 +202,7 @@ function toggle_menu(name) {
| | |
Hashrate | N/A | N/A |
Miners | N/A | |
+PPLNS window | N/A | |
Last block | N/A | N/A |
Total blocks | N/A | |
Current effort | N/A | |