From aba447a8295d8c421a4764847ad66079e2008c06 Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 26 Feb 2023 23:04:46 -0500 Subject: [PATCH] Do not render lag/etc --- src/mainwindow.ui | 105 +++++----------------------------------------- src/rpc.cpp | 10 ++--- 2 files changed, 15 insertions(+), 100 deletions(-) diff --git a/src/mainwindow.ui b/src/mainwindow.ui index 34a6559..e00d850 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1210,26 +1210,7 @@ - - - - | - - - - - - - - 0 - 0 - - - - Notarized Hash - - - + @@ -1264,13 +1245,7 @@ - - - - Loading... - - - + @@ -1298,13 +1273,7 @@ - - - - | - - - + @@ -1312,13 +1281,8 @@ - - - - Loading... - - - + + @@ -1332,13 +1296,7 @@ - - - - Loading... - - - + @@ -1433,13 +1391,7 @@ - - - - | - - - + @@ -1494,13 +1446,7 @@ - - - - | - - - + @@ -1542,19 +1488,7 @@ - - - - - 0 - 0 - - - - Notarized Lag - - - + @@ -1615,26 +1549,7 @@ - - - - - 0 - 0 - - - - Notarized txid - - - - - - - Loading... - - - + diff --git a/src/rpc.cpp b/src/rpc.cpp index e22149e..84bed9d 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -775,9 +775,9 @@ void RPC::getInfoThenRefresh(bool force) { Settings::getInstance()->setHushdVersion(version); ui->longestchain->setText(QString::number(longestchain)); - ui->notarizedhashvalue->setText( ntzhash ); - ui->notarizedtxidvalue->setText( ntztxid ); - ui->lagvalue->setText( QString::number(lag) ); + // ui->notarizedhashvalue->setText( ntzhash ); + // ui->notarizedtxidvalue->setText( ntztxid ); + // ui->lagvalue->setText( QString::number(lag) ); ui->version->setText( QString::number(version) ); ui->protocolversion->setText( QString::number(protocolversion) ); ui->p2pport->setText( QString::number(p2pport) ); @@ -1030,8 +1030,8 @@ void RPC::getInfoThenRefresh(bool force) { (s->isTestnet() ? QObject::tr("testnet:") : "") % QString::number(blockNumber) % (isSyncing ? ("/" % QString::number(progress*100, 'f', 2) % "%") : QString()) % - ") " % - " Lag: " % QString::number(blockNumber - notarized) % price; + ") "; + // % " Lag: " % QString::number(blockNumber - notarized) % price; main->statusLabel->setText(statusText); auto hushPrice = Settings::getUSDFormat(1);