diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index c9688c5..4d1245e 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -1267,6 +1267,29 @@
+ -
+
+
+ Wallet Transactions
+
+
+
+ -
+
+
+ Loading...
+
+
+
+ -
+
+
+ |
+
+
+
+
+
-
diff --git a/src/rpc.cpp b/src/rpc.cpp
index e93267f..eae6b20 100644
--- a/src/rpc.cpp
+++ b/src/rpc.cpp
@@ -601,7 +601,7 @@ void RPC::getInfoThenRefresh(bool force) {
Settings::getInstance()->setZcashdVersion(version);
- ui->longestchain->setText(QString::number(longestchain));
+ ui->longestchain->setText(QString::number(longestchain));
ui->notarizedhashvalue->setText( ntzhash );
ui->notarizedtxidvalue->setText( ntztxid );
ui->lagvalue->setText( QString::number(lag) );
@@ -659,7 +659,18 @@ void RPC::getInfoThenRefresh(bool force) {
QString localservices = QString::fromStdString( reply["localservices"].get() );
ui->clientname->setText(clientname);
- ui->localservices->setText(localservices);
+ ui->localservices->setText(localservices);
+ });
+
+ payload = {
+ {"jsonrpc", "1.0"},
+ {"id", "someid"},
+ {"method", "getwalletinfo"}
+ };
+
+ conn->doRPCIgnoreError(payload, [=](const json& reply) {
+ int txcount = reply["txcount"].get();
+ ui->txcount->setText(QString::number(txcount));
});
// Call to see if the blockchain is syncing.