Metrics: Improve mining status
This commit is contained in:
@@ -199,8 +199,12 @@ int printMiningStatus(bool mining)
|
|||||||
else
|
else
|
||||||
nThreads = boost::thread::hardware_concurrency();
|
nThreads = boost::thread::hardware_concurrency();
|
||||||
}
|
}
|
||||||
std::cout << strprintf(_("You are mining with the %s solver on %d threads."),
|
if (miningTimer.running()) {
|
||||||
GetArg("-equihashsolver", "default"), nThreads) << std::endl;
|
std::cout << strprintf(_("You are mining with the %s solver on %d threads."),
|
||||||
|
GetArg("-equihashsolver", "default"), nThreads) << std::endl;
|
||||||
|
} else {
|
||||||
|
std::cout << _("Mining is paused.") << std::endl;
|
||||||
|
}
|
||||||
lines++;
|
lines++;
|
||||||
} else {
|
} else {
|
||||||
std::cout << _("You are currently not mining.") << std::endl;
|
std::cout << _("You are currently not mining.") << std::endl;
|
||||||
@@ -409,8 +413,8 @@ void ThreadShowMetricsScreen()
|
|||||||
|
|
||||||
if (loaded) {
|
if (loaded) {
|
||||||
lines += printStats(mining);
|
lines += printStats(mining);
|
||||||
|
lines += printMiningStatus(mining);
|
||||||
}
|
}
|
||||||
lines += printMiningStatus(mining);
|
|
||||||
lines += printMetrics(cols, mining);
|
lines += printMetrics(cols, mining);
|
||||||
lines += printMessageBox(cols);
|
lines += printMessageBox(cols);
|
||||||
lines += printInitMessage();
|
lines += printInitMessage();
|
||||||
|
|||||||
Reference in New Issue
Block a user