diff --git a/src/app.cpp b/src/app.cpp index f941644..8236649 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -396,6 +396,14 @@ bool App::init() worker_->start(); network_refresh_.markDue(services::NetworkRefreshService::Timer::Price); + // Warm the Mining tab's data at startup (both async / off the UI thread) so pool + // hashrates and the installed miner version are shown as soon as the tab is opened, + // instead of only after the user clicks a mine / auto-balance button. + if (supportsPoolMining()) { + daemon::XmrigManager::startVersionDetection(); // idempotent one-shot `xmrig --version` + pool_stats_service_.refresh(util::knownPools()); // snapshot lands on a later frame + } + // Forward error/warning notifications to the console tab. The channel is the semantic // key — the Errors filter keys off ConsoleChannel::Error, and the color/accent bar are // derived from the channel at draw time.