diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-05 12:23:08 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-09-06 12:12:18 +0200 |
commit | ed4c7fd4fdc1f5b89162d9e91ad57d16205b06eb (patch) | |
tree | e0f8cb449ced2bbe722305360e7d7f4955a6216c /src/qt/transactionrecord.h | |
parent | d22d9753cc7175a7cf0ce440b96d83277747ecb9 (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.h | 6 |
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. */ |