aboutsummaryrefslogtreecommitdiff
path: root/src/qt/transactionrecord.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 14:27:16 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-07-07 14:27:16 +0200
commitfbaee7a8533b23d846ee16837320f709c4e83d47 (patch)
treef867d31077177c79d27a2c475fb19b566c5010bf /src/qt/transactionrecord.cpp
parentd52a0f3bca2c8df8360308b062185d803e34f0d9 (diff)
Export functionality for transaction list
Diffstat (limited to 'src/qt/transactionrecord.cpp')
-rw-r--r--src/qt/transactionrecord.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp
index 864dffa99e..1b527bc7d3 100644
--- a/src/qt/transactionrecord.cpp
+++ b/src/qt/transactionrecord.cpp
@@ -254,3 +254,9 @@ bool TransactionRecord::statusUpdateNeeded()
{
return status.cur_num_blocks != nBestHeight;
}
+
+std::string TransactionRecord::getTxID()
+{
+ return hash.ToString() + strprintf("-%03d", idx);
+}
+