diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-04-20 13:17:27 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-06-23 15:50:17 +0300 |
commit | 663ed04eb83c7185c7f7c480c685647bfd29b376 (patch) | |
tree | 1854e8c2ae340313c74a3e0c8a110cc4e93696a6 /src/wallet/api/transaction_info.h | |
parent | api implementation splitted over separate files (diff) | |
download | monero-663ed04eb83c7185c7f7c480c685647bfd29b376.tar.xz |
transaction history api in progress
Diffstat (limited to 'src/wallet/api/transaction_info.h')
-rw-r--r-- | src/wallet/api/transaction_info.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/wallet/api/transaction_info.h b/src/wallet/api/transaction_info.h index 2ed8157f7..3aae19a64 100644 --- a/src/wallet/api/transaction_info.h +++ b/src/wallet/api/transaction_info.h @@ -34,6 +34,8 @@ namespace Bitmonero { +class TransactionHistoryImpl; + class TransactionInfoImpl : public TransactionInfo { public: @@ -47,6 +49,21 @@ public: virtual std::string address() const; virtual std::time_t timestamp() const; virtual std::string paymentId() const; + +private: + int m_direction; + bool m_hold; + bool m_failed; + uint64_t m_amount; + uint64_t m_fee; + uint64_t b_blockheight; + std::string m_address; + std::time_t m_timestamp; + std::string m_paymentid; + + + friend class TransactionHistoryImpl; + }; } // namespace |