aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionrecord.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-09-05 12:23:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-09-06 12:12:18 +0200
commited4c7fd4fdc1f5b89162d9e91ad57d16205b06eb (patch)
treee0f8cb449ced2bbe722305360e7d7f4955a6216c /src/qt/transactionrecord.h
parentd22d9753cc7175a7cf0ce440b96d83277747ecb9 (diff)
qt: add vout index to transaction id in transactions details dialog
Diffstat (limited to 'src/qt/transactionrecord.h')
-rw-r--r--src/qt/transactionrecord.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h
index d760d47c89..480e7a7f2c 100644
--- a/src/qt/transactionrecord.h
+++ b/src/qt/transactionrecord.h
@@ -4,6 +4,7 @@
#include "uint256.h"
#include <QList>
+#include <QString>
class CWallet;
class CWalletTx;
@@ -117,7 +118,10 @@ public:
TransactionStatus status;
/** Return the unique identifier for this transaction (part) */
- std::string getTxID();
+ QString getTxID() const;
+
+ /** Format subtransaction id */
+ static QString formatSubTxId(const uint256 &hash, int vout);
/** Update status from core wallet tx.
*/