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 | 68 ++++++++++++++++++++++++++------------ src/qt/rpcconsole.cpp | 4 +++ 2 files changed, 51 insertions(+), 21 deletions(-) diff --git a/src/qt/forms/rpcconsole.ui b/src/qt/forms/rpcconsole.ui index be0f4ebe968..2d8237f360f 100644 --- a/src/qt/forms/rpcconsole.ui +++ b/src/qt/forms/rpcconsole.ui @@ -87,13 +87,39 @@ + + + Using OpenSSL version + + + 10 + + + + + + + IBeamCursor + + + N/A + + + Qt::PlainText + + + Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse + + + + Build date - + IBeamCursor @@ -109,14 +135,14 @@ - + Startup time - + IBeamCursor @@ -132,7 +158,7 @@ - + @@ -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 7b40db0765d..08f936e7194 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();