diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-04-29 16:26:14 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-06-23 16:01:26 +0300 |
commit | e6fdd5dd10efa29029aa6babf821c429084d786f (patch) | |
tree | c3a392307e0d204082b8d2c7292013c84ed368e0 /src/wallet/api/transaction_info.h | |
parent | merged with upstream (diff) | |
download | monero-e6fdd5dd10efa29029aa6babf821c429084d786f.tar.xz |
TransactionHistory continued
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-rw-r--r-- | src/wallet/api/transaction_info.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h index a06bc367e..82ab2cc6b 100644 --- a/src/wallet/api/transaction_info.h +++ b/src/wallet/api/transaction_info.h @@ -44,7 +44,7 @@ public: //! in/out virtual int direction() const; //! true if hold - virtual bool isHold() const; + virtual bool isPending() const; virtual bool isFailed() const; virtual uint64_t amount() const; //! always 0 for incoming txes @@ -54,10 +54,11 @@ public: virtual std::string hash() const; virtual std::time_t timestamp() const; virtual std::string paymentId() const; + virtual const std::vector<Transfer> &transfers() const; private: int m_direction; - bool m_hold; + bool m_pending; bool m_failed; uint64_t m_amount; uint64_t m_fee; @@ -65,7 +66,7 @@ private: std::string m_hash; std::time_t m_timestamp; std::string m_paymentid; - + std::vector<Transfer> m_transfers; friend class TransactionHistoryImpl; |