connect(m_wallet, &Wallet::heightsRefreshed, this, [this](bool success, quint64 daemonHeight, quint64 targetHeight) {
if (conf()->get(Config::syncPaused).toBool()) {
- qInfo() << "Heights refreshed (Paused): Daemon" << daemonHeight << "Target" << targetHeight;
+ qDebug() << "Heights refreshed (Paused): Daemon" << daemonHeight << "Target" << targetHeight;
this->setPausedSyncStatus();
}
});
}
void MainWindow::setPausedSyncStatus() {
- qWarning() << "setPausedSyncStatus called. Sync paused:" << conf()->get(Config::syncPaused).toBool();
+ qDebug() << "setPausedSyncStatus called. Sync paused:" << conf()->get(Config::syncPaused).toBool();
QString tooltip;
QString status = Utils::getPausedSyncStatus(m_wallet, m_nodes, &tooltip);
// Log variables for debugging 149 vs 814k discrepancy
if (m_wallet) {
- qWarning() << "Paused Status Calc: WalletHeight:" << m_wallet->blockChainHeight()
- << "DaemonHeight:" << m_wallet->daemonBlockChainHeight()
- << "TargetHeight:" << m_wallet->daemonBlockChainTargetHeight();
+ qDebug() << "Paused Status Calc: WalletHeight:" << m_wallet->blockChainHeight()
+ << "DaemonHeight:" << m_wallet->daemonBlockChainHeight()
+ << "TargetHeight:" << m_wallet->daemonBlockChainTargetHeight();
}
this->setStatusText(status);
void MainWindow::setStatusText(const QString &text, bool override, int timeout) {
// Log to qWarning as requested for debugging
if (text != m_statusText) {
- qWarning() << "Setting status text:" << text;
+ qTrace() << "Setting status text:" << text;
}
if (override) {
}
void MainWindow::onSyncStatus(quint64 height, quint64 target, bool daemonSync) {
- qWarning() << "onSyncStatus: Height" << height << "Target" << target << "DaemonSync" << daemonSync;
+ qDebug() << "onSyncStatus: Height" << height << "Target" << target << "DaemonSync" << daemonSync;
if (height >= (target - 1) && target > 0) {
this->updateNetStats();
this->setStatusText(QString("Synchronized (%1)").arg(QLocale().toString(height)));