aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-04-22 13:21:08 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-04-22 13:21:08 +0300
commit02c9df5de247d6f8fb95e1b9272cef2b37be10f8 (patch)
treed12be2519202c6075f95d05b60190727bb8508c2 /src/wallet/api/transaction_info.h
parenttransaction history api in progress (diff)
downloadmonero-02c9df5de247d6f8fb95e1b9272cef2b37be10f8.tar.xz
Wallet API : transaction history in progress
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-rw-r--r--src/wallet/api/transaction_info.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h
index 3aae19a64..945b0d9ed 100644
--- a/src/wallet/api/transaction_info.h
+++ b/src/wallet/api/transaction_info.h
@@ -41,12 +41,16 @@ class TransactionInfoImpl : public TransactionInfo
public:
TransactionInfoImpl();
~TransactionInfoImpl();
+ //! in/out
virtual int direction() const;
+ //! true if hold
virtual bool isHold() const;
virtual bool isFailed() const;
virtual uint64_t amount() const;
+ //! always 0 for incoming txes
virtual uint64_t fee() const;
- virtual std::string address() const;
+
+ virtual std::string hash() const;
virtual std::time_t timestamp() const;
virtual std::string paymentId() const;
@@ -56,8 +60,8 @@ private:
bool m_failed;
uint64_t m_amount;
uint64_t m_fee;
- uint64_t b_blockheight;
- std::string m_address;
+ uint64_t m_blockheight;
+ std::string m_hash;
std::time_t m_timestamp;
std::string m_paymentid;