From d03a47820f7b029bd9494f1d7f69f71917a5b9b6 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Sun, 6 Mar 2022 12:38:31 +0530 Subject: [PATCH] merge bitcoin-gui#118: Remove BDB version from the Information tab Co-authored-by: UdjinM6 --- src/qt/forms/debugwindow.ui | 93 +++++++++++++------------------------ src/qt/rpcconsole.cpp | 10 ---- 2 files changed, 32 insertions(+), 71 deletions(-) diff --git a/src/qt/forms/debugwindow.ui b/src/qt/forms/debugwindow.ui index aac7bbb252..af9718e562 100644 --- a/src/qt/forms/debugwindow.ui +++ b/src/qt/forms/debugwindow.ui @@ -147,39 +147,13 @@ - - - Using BerkeleyDB version - - - 10 - - - - - - - IBeamCursor - - - N/A - - - Qt::PlainText - - - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - - - - Datadir - + IBeamCursor @@ -201,14 +175,14 @@ - + Blocksdir - + IBeamCursor @@ -230,14 +204,14 @@ - + Startup time - + IBeamCursor @@ -253,21 +227,21 @@ - + Network - + Name - + IBeamCursor @@ -283,14 +257,14 @@ - + Number of connections - + IBeamCursor @@ -306,14 +280,14 @@ - + Number of Masternodes - + IBeamCursor @@ -321,29 +295,26 @@ N/A - - Qt::PlainText - Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse - + Block chain - + Current block height - + IBeamCursor @@ -359,14 +330,14 @@ - + Last block time - + IBeamCursor @@ -382,14 +353,14 @@ - + Last block hash - + IBeamCursor @@ -405,14 +376,14 @@ - + Latest ChainLocked block hash - + IBeamCursor @@ -428,14 +399,14 @@ - + Latest ChainLocked block height - + IBeamCursor @@ -451,21 +422,21 @@ - + Memory Pool - + Current number of transactions - + IBeamCursor @@ -481,14 +452,14 @@ - + Memory usage - + IBeamCursor @@ -504,7 +475,7 @@ - + 3 @@ -544,14 +515,14 @@ - + InstantSend locks - + IBeamCursor @@ -567,7 +538,7 @@ - + Qt::Vertical diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 717c2d5ffa..b83cb2fea4 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -504,16 +504,6 @@ RPCConsole::RPCConsole(interfaces::Node& node, QWidget* parent, Qt::WindowFlags connect(ui->btn_upgradewallet, &QPushButton::clicked, this, &RPCConsole::walletUpgrade); connect(ui->btn_reindex, &QPushButton::clicked, this, &RPCConsole::walletReindex); - // set library version labels -#ifdef ENABLE_WALLET - ui->berkeleyDBVersion->setText(QString::fromStdString(BerkeleyDatabaseVersion())); - std::string walletPath = GetDataDir().string(); - walletPath += QDir::separator().toLatin1() + gArgs.GetArg("-wallet", "wallet.dat"); - ui->wallet_path->setText(QString::fromStdString(walletPath)); -#else - ui->label_berkeleyDBVersion->hide(); - ui->berkeleyDBVersion->hide(); -#endif // Register RPC timer interface rpcTimerInterface = new QtRPCTimerInterface(); // avoid accidentally overwriting an existing, non QTThread