Remove pool_luck metric and UI indicator

Updated the ArrowIndicator class to exclude the "pool_luck" metric while keeping "estimated_rewards_in_window_sats" and "workers_hashing". Removed the corresponding UI elements in the updateUI function, as the visual representation for "pool_luck" is no longer necessary.
This commit is contained in:
DJObleezy 2025-04-22 08:30:03 -07:00
parent 8c1c55c83f
commit 231a56b18a

View File

@ -166,7 +166,7 @@ class ArrowIndicator {
"difficulty", "daily_revenue", "daily_power_cost", "daily_profit_usd",
"monthly_profit_usd", "daily_mined_sats", "monthly_mined_sats", "unpaid_earnings",
"estimated_earnings_per_day_sats", "estimated_earnings_next_block_sats",
"estimated_rewards_in_window_sats", "workers_hashing", "pool_luck"
"estimated_rewards_in_window_sats", "workers_hashing"
];
// Clear all arrows if requested
@ -1492,12 +1492,6 @@ function updateUI() {
}
}
// Add the indicator after the value
const indicatorSpan = document.createElement("span");
indicatorSpan.id = "indicator_pool_luck";
indicatorSpan.style.marginLeft = "5px";
poolLuckDiv.appendChild(indicatorSpan);
// Add to divider container
poolDividerContainer.appendChild(poolLuckDiv);
}