From ebf9065c227860d91c9e304c8a2cb2d62c7c55ef Mon Sep 17 00:00:00 2001 From: Luke Dashjr Date: Tue, 10 Jan 2012 13:25:02 -0500 Subject: [PATCH] Qt: Show transaction ID in details --- src/qt/transactiondesc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qt/transactiondesc.cpp b/src/qt/transactiondesc.cpp index 8de63c1d..089fe751 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("
") + tr("Comment:") + "
" + GUIUtil::HtmlEscape(wtx.mapValue["comment"], true) + "
"; + strHTML += QString("") + tr("Transaction ID:") + " " + wtx.GetHash().ToString().c_str() + "
"; + if (wtx.IsCoinBase()) strHTML += QString("
") + 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.") + "
";