From 809ee795927f0b9110a5b6e83845f42e3394451d Mon Sep 17 00:00:00 2001 From: gavinandresen Date: Thu, 16 Dec 2010 01:06:03 +0000 Subject: New RPC command: listaccounts. New RPC setting -rpctimeout. And listtransactions '*' git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@203 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- ui.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui.cpp') diff --git a/ui.cpp b/ui.cpp index 677e6c2a7..1cb922fad 100644 --- a/ui.cpp +++ b/ui.cpp @@ -746,6 +746,12 @@ bool CMainFrame::InsertTransaction(const CWalletTx& wtx, bool fNew, int nIndex) strDescription += " - "; strDescription += mapValue["message"]; } + else if (!mapValue["comment"].empty()) + { + if (!strDescription.empty()) + strDescription += " - "; + strDescription += mapValue["comment"]; + } int64 nValue = txout.nValue; if (nTxFee > 0) @@ -1405,6 +1411,8 @@ CTxDetailsDialog::CTxDetailsDialog(wxWindow* parent, CWalletTx wtx) : CTxDetails // if (!wtx.mapValue["message"].empty()) strHTML += string() + "
" + _("Message:") + "
" + HtmlEscape(wtx.mapValue["message"], true) + "
"; + if (!wtx.mapValue["comment"].empty()) + strHTML += string() + "
" + _("Comment:") + "
" + HtmlEscape(wtx.mapValue["comment"], true) + "
"; if (wtx.IsCoinBase()) strHTML += string() + "
" + _("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.") + "
"; -- cgit v1.2.3