aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/transaction_info.cpp
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.cpp
parenttransaction history api in progress (diff)
downloadmonero-02c9df5de247d6f8fb95e1b9272cef2b37be10f8.tar.xz
Wallet API : transaction history in progress
Diffstat (limited to 'src/wallet/api/transaction_info.cpp')
-rw-r--r--src/wallet/api/transaction_info.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wallet/api/transaction_info.cpp b/src/wallet/api/transaction_info.cpp
index 8de4e555f..c28c52355 100644
--- a/src/wallet/api/transaction_info.cpp
+++ b/src/wallet/api/transaction_info.cpp
@@ -35,7 +35,16 @@ using namespace std;
namespace Bitmonero {
+TransactionInfo::~TransactionInfo() {}
+
TransactionInfoImpl::TransactionInfoImpl()
+ : m_direction(Direction_Out)
+ , m_hold(false)
+ , m_failed(false)
+ , m_amount(0)
+ , m_fee(0)
+ , m_blockheight(0)
+ , m_timestamp(0)
{
}
@@ -71,7 +80,7 @@ uint64_t TransactionInfoImpl::fee() const
return 0;
}
-string TransactionInfoImpl::address() const
+string TransactionInfoImpl::hash() const
{
return "";
}