diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui
index bf737d9b9..1e574e852 100644
--- a/src/qt/forms/rpcconsole.ui
+++ b/src/qt/forms/rpcconsole.ui
@@ -113,14 +113,17 @@
-
-
+
- Build date
+ Using BerkeleyDB version
+
+
+ 10
-
-
+
IBeamCursor
@@ -136,14 +139,14 @@
-
-
+
- Startup time
+ Build date
-
-
+
IBeamCursor
@@ -159,6 +162,29 @@
-
+
+
+ Startup time
+
+
+
+ -
+
+
+ IBeamCursor
+
+
+ N/A
+
+
+ Qt::PlainText
+
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
+
+
+ -
@@ -171,14 +197,14 @@
- -
+
-
Name
- -
+
-
IBeamCursor
@@ -194,14 +220,14 @@
- -
+
-
Number of connections
- -
+
-
IBeamCursor
@@ -217,7 +243,7 @@
- -
+
-
@@ -230,14 +256,14 @@
- -
+
-
Current number of blocks
- -
+
-
IBeamCursor
@@ -253,14 +279,14 @@
- -
+
-
Last block time
- -
+
-
IBeamCursor
@@ -276,7 +302,7 @@
- -
+
-
Qt::Vertical
@@ -289,7 +315,7 @@
- -
+
-
@@ -302,7 +328,7 @@
- -
+
-
Open the Bitcoin debug log file from the current data directory. This can take a few seconds for large log files.
@@ -315,7 +341,7 @@
- -
+
-
Qt::Vertical
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 3b7d37ff3..6a8bce25d 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -15,7 +15,9 @@
#include "util.h"
#include "json/json_spirit_value.h"
+#include
#include
+
#include
#include
#include
@@ -216,8 +218,14 @@ RPCConsole::RPCConsole(QWidget *parent) :
connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear()));
connect(ui->btnClearTrafficGraph, SIGNAL(clicked()), ui->trafficGraph, SLOT(clear()));
- // set OpenSSL version label
+ // set library version labels
ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION));
+#ifdef ENABLE_WALLET
+ ui->berkeleyDBVersion->setText(DbEnv::version(0, 0, 0));
+#else
+ ui->label_berkeleyDBVersion->hide();
+ ui->berkeleyDBVersion->hide();
+#endif
startExecutor();
setTrafficGraphRange(INITIAL_TRAFFIC_GRAPH_MINS);