aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-04-20 13:33:54 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-04-20 13:33:54 +0300
commita213887476136148c9162455d37d4337ef152b68 (patch)
tree3e96741f9c83ca5db33fbbca565242eae730cfd8 /src/wallet/api/transaction_info.h
parenttransaction history api in progress (diff)
downloadmonero-a213887476136148c9162455d37d4337ef152b68.tar.xz
transaction history api in progress
Diffstat (limited to '')
-rw-r--r--src/wallet/api/transaction_info.h17
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