aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <[email protected]>2012-01-10 13:25:02 -0500
committerLuke Dashjr <[email protected]>2012-01-10 13:25:05 -0500
commitebf9065c227860d91c9e304c8a2cb2d62c7c55ef (patch)
tree06ff875c17303c3ca61c75f2535a48937488a4fc /src
parentMerge pull request #746 from laanwj/tdesc_ro (diff)
downloaddiscoin-ebf9065c227860d91c9e304c8a2cb2d62c7c55ef.tar.xz
discoin-ebf9065c227860d91c9e304c8a2cb2d62c7c55ef.zip
Qt: Show transaction ID in details
Diffstat (limited to 'src')
-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 8de63c1de..089fe751b 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>";