}
void MainWindow::onBalanceUpdated(quint64 balance, quint64 spendable) {
- qDebug() << Q_FUNC_INFO;
-
bool hide = config()->get(Config::hideBalance).toBool();
int displaySetting = config()->get(Config::balanceDisplay).toInt();
int decimals = config()->get(Config::amountPrecision).toInt();
// store wallet immediately upon finishing synchronization
this->wallet->store();
}
-
- qDebug() << "Wallet refresh status: " << success;
}
void AppContext::onWalletNewBlock(quint64 blockheight, quint64 targetHeight) {
}
void AppContext::onHeightRefreshed(quint64 walletHeight, quint64 daemonHeight, quint64 targetHeight) {
- qDebug() << Q_FUNC_INFO << walletHeight << daemonHeight << targetHeight;
-
if (this->wallet->connectionStatus() == Wallet::ConnectionStatus_Disconnected)
return;
// called when wallet refreshed by background thread or explicitly
void WalletListenerImpl::refreshed(bool success)
{
- qDebug() << __FUNCTION__;
QString message = m_wallet->errorString();
m_wallet->onRefreshed(success);
emit m_wallet->refreshed(success, message);