From 6ca6f2ed3de3929a50b70ac57780191194c62390 Mon Sep 17 00:00:00 2001 From: SChernykh Date: Mon, 18 Sep 2023 18:22:12 +0200 Subject: [PATCH] HTML: update min payout --- docs/html/index.html | 4 +++- docs/html/mini/index.html | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/html/index.html b/docs/html/index.html index fbcf23f..a6ffbf5 100644 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -86,10 +86,12 @@ async function load_data() { let pool_hashrate = pool_stats.pool_statistics.hashRate / 1e6; let pplns_duration = pool_stats.pool_statistics.pplnsWeight / pool_stats.pool_statistics.hashRate; + let min_payout = 0.6 * pool_stats.pool_statistics.sidechainDifficulty / pool_stats.pool_statistics.pplnsWeight; 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; + document.getElementById("min_payout").innerHTML = min_payout.toFixed(5) + ' XMR'; let ts = Math.floor(Date.now() / 1000); @@ -208,7 +210,7 @@ function toggle_menu(name) { Average effort
last 50 blocks
N/A   Fee0% -Min payout0.0003 XMR +Min payout0.00027 XMR Payout schemePPLNS   StatisticsP2Pool observer diff --git a/docs/html/mini/index.html b/docs/html/mini/index.html index 4b316f5..11c2c45 100644 --- a/docs/html/mini/index.html +++ b/docs/html/mini/index.html @@ -86,10 +86,12 @@ async function load_data() { let pool_hashrate = pool_stats.pool_statistics.hashRate / 1e6; let pplns_duration = pool_stats.pool_statistics.pplnsWeight / pool_stats.pool_statistics.hashRate; + let min_payout = 0.6 * pool_stats.pool_statistics.sidechainDifficulty / pool_stats.pool_statistics.pplnsWeight; 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; + document.getElementById("min_payout").innerHTML = min_payout.toFixed(5) + ' XMR'; let ts = Math.floor(Date.now() / 1000); @@ -208,7 +210,7 @@ function toggle_menu(name) { Average effort
last 50 blocks
N/A   Fee0% -Min payout0.0003 XMR +Min payout0.00027 XMR Payout schemePPLNS   StatisticsP2Pool observer