aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-01-10 11:51:55 -0800
committerWladimir J. van der Laan <laanwj@gmail.com>2012-01-10 11:51:55 -0800
commitb43eaa5508e8b81a51796406cf598a7630c1c915 (patch)
tree1466866e3827199e16cfa9a2826a0d1a8b4844db
parenta4902c9e7c70ca17d5b6a8c628e0f6e095afb508 (diff)
parentebf9065c227860d91c9e304c8a2cb2d62c7c55ef (diff)
downloadbitcoin-b43eaa5508e8b81a51796406cf598a7630c1c915.tar.xz
Merge pull request #752 from luke-jr/qt_txnid
Qt: Show transaction ID in details
-rw-r--r--src/qt/transactiondesc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp
index 8de63c1dee..089fe751b8 100644
--- a/src/qt/transactiondesc.cpp
+++ b/src/qt/transactiondesc.cpp
@@ -218,6 +218,8 @@ QString TransactionDesc::toHTML(CWallet *wallet, CWalletTx &wtx)
if (!wtx.mapValue["comment"].empty())
strHTML += QString("<br><b>") + tr("Comment:") + "</b><br>" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "<br>";
+ strHTML += QString("<b>") + tr("Transaction ID:") + "</b> " + wtx.GetHash().ToString().c_str() + "<br>";
+
if (wtx.IsCoinBase())
strHTML += QString("<br>") + tr("Generated coins must wait 120 blocks before they can be spent. When you generated this block, it was broadcast to the network to be added to the block chain. If it fails to get into the chain, it will change to \"not accepted\" and not be spendable. This may occasionally happen if another node generates a block within a few seconds of yours.") + "<br>";