From c7441658da9cfc7680f1cc1db098a71c5d2d7a3f Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Thu, 14 Jun 2012 19:18:30 +0200 Subject: [PATCH] show used OpenSSL library version in debug window --- src/qt/forms/rpcconsole.ui | 72 ++++++++++++++++++++++++++------------ src/qt/rpcconsole.cpp | 4 +++ 2 files changed, 53 insertions(+), 23 deletions(-) diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui index be0f4ebe96..2d8237f360 100644 --- a/src/qt/forms/rpcconsole.ui +++ b/src/qt/forms/rpcconsole.ui @@ -87,14 +87,17 @@ - + - Build date + Using OpenSSL version + + + 10 - + IBeamCursor @@ -110,14 +113,14 @@ - + - Startup time + Build date - + IBeamCursor @@ -133,6 +136,29 @@ + + + Startup time + + + + + + + IBeamCursor + + + N/A + + + Qt::PlainText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + @@ -145,14 +171,14 @@ - + Number of connections - + IBeamCursor @@ -168,14 +194,14 @@ - + On testnet - + false @@ -185,7 +211,7 @@ - + @@ -198,14 +224,14 @@ - + Current number of blocks - + IBeamCursor @@ -221,14 +247,14 @@ - + Estimated total blocks - + IBeamCursor @@ -244,14 +270,14 @@ - + Last block time - + IBeamCursor @@ -267,7 +293,7 @@ - + Qt::Vertical @@ -280,7 +306,7 @@ - + @@ -293,7 +319,7 @@ - + Open the Bitcoin debug logfile from the current data directory. This can take a few seconds for large logfiles. @@ -306,7 +332,7 @@ - + @@ -319,7 +345,7 @@ - + Show the Bitcoin-Qt help message to get a list with possible Bitcoin command-line options. @@ -332,7 +358,7 @@ - + Qt::Vertical diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 7b40db0765..08f936e719 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -14,6 +14,7 @@ #include #include +#include // TODO: make it possible to filter out categories (esp debug messages when implemented) // TODO: receive errors and debug messages through ClientModel @@ -119,6 +120,9 @@ RPCConsole::RPCConsole(QWidget *parent) : connect(ui->clearButton, SIGNAL(clicked()), this, SLOT(clear())); + // set OpenSSL version label + ui->openSSLVersion->setText(SSLeay_version(SSLEAY_VERSION)); + startExecutor(); clear();