aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactiondesc.cpp
diff options
context:
space:
mode:
authorHampus Sjöberg <hampus.sjoberg@gmail.com>2016-09-06 22:31:36 +0200
committerHampus Sjöberg <hampus.sjoberg@gmail.com>2016-09-06 22:31:36 +0200
commitc015634400f112f8b7f037c82690f1332d7971a3 (patch)
treec7df8e9ae74cdd14620a69bb97ca32a65df72542 /src/qt/transactiondesc.cpp
parentfdf82fba3105c3c824e594db8cd7c55c4f692744 (diff)
downloadbitcoin-c015634400f112f8b7f037c82690f1332d7971a3.tar.xz
qt: Adding transaction size to transaction details window
Diffstat (limited to 'src/qt/transactiondesc.cpp')
-rw-r--r--src/qt/transactiondesc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp
index bae0cbd1c8..32b3955ce5 100644
--- a/src/qt/transactiondesc.cpp
+++ b/src/qt/transactiondesc.cpp
@@ -241,6 +241,7 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx, TransactionReco
strHTML += "<br><b>" + tr("Comment") + ":</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "<br>";
strHTML += "<b>" + tr("Transaction ID") + ":</b> " + rec->getTxID() + "<br>";
+ strHTML += "<b>" + tr("Transaction size") + ":</b> " + QString::number(wtx.GetTotalSize()) + " bytes<br>";
strHTML += "<b>" + tr("Output index") + ":</b> " + QString::number(rec->getOutputIndex()) + "<br>";
// Message from normal bitcoin:URI (bitcoin:123...?message=example)