diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-07-07 14:27:16 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-07-07 14:27:16 +0200 |
| commit | fbaee7a8533b23d846ee16837320f709c4e83d47 (patch) | |
| tree | f867d31077177c79d27a2c475fb19b566c5010bf /src/qt/transactionrecord.cpp | |
| parent | Rename "History" tab to more logical "Transactions", move "Number of transact... (diff) | |
| download | discoin-fbaee7a8533b23d846ee16837320f709c4e83d47.tar.xz discoin-fbaee7a8533b23d846ee16837320f709c4e83d47.zip | |
Export functionality for transaction list
Diffstat (limited to 'src/qt/transactionrecord.cpp')
| -rw-r--r-- | src/qt/transactionrecord.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qt/transactionrecord.cpp b/src/qt/transactionrecord.cpp index 864dffa99..1b527bc7d 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); +} + |