diff --git a/src/mainwindow.ui b/src/mainwindow.ui index c8a81cd..2fd4f3d 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -1037,6 +1037,28 @@ + + + + KMD Version + + + + + + + Loading... + + + + + + + | + + + + diff --git a/src/rpc.cpp b/src/rpc.cpp index 56401b6..b6dd038 100644 --- a/src/rpc.cpp +++ b/src/rpc.cpp @@ -560,11 +560,13 @@ void RPC::getInfoThenRefresh(bool force) { int lag = curBlock - notarized; QString ntzhash = QString::fromStdString( reply["notarizedhash"].get() ); QString ntztxid = QString::fromStdString( reply["notarizedtxid"].get() ); + QString kmdver = QString::fromStdString( reply["KMDversion"].get() ); Settings::getInstance()->setZcashdVersion(version); ui->notarizedhashvalue->setText( ntzhash ); ui->notarizedtxidvalue->setText( ntztxid ); ui->lagvalue->setText( QString::number(lag) ); + ui->kmdversion->setText( kmdver ); if ( force || (curBlock != lastBlock) ) { // Something changed, so refresh everything.