aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/pending_transaction.cpp
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-04-20 13:17:27 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-06-23 15:50:17 +0300
commit663ed04eb83c7185c7f7c480c685647bfd29b376 (patch)
tree1854e8c2ae340313c74a3e0c8a110cc4e93696a6 /src/wallet/api/pending_transaction.cpp
parentapi implementation splitted over separate files (diff)
downloadmonero-663ed04eb83c7185c7f7c480c685647bfd29b376.tar.xz
transaction history api in progress
Diffstat (limited to 'src/wallet/api/pending_transaction.cpp')
-rw-r--r--src/wallet/api/pending_transaction.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wallet/api/pending_transaction.cpp b/src/wallet/api/pending_transaction.cpp
index e9791ec35..db40851b4 100644
--- a/src/wallet/api/pending_transaction.cpp
+++ b/src/wallet/api/pending_transaction.cpp
@@ -48,28 +48,28 @@ namespace Bitmonero {
PendingTransaction::~PendingTransaction() {}
-TransactionImpl::TransactionImpl(WalletImpl *wallet)
+PendingTransactionImpl::PendingTransactionImpl(WalletImpl *wallet)
: m_wallet(wallet)
{
}
-TransactionImpl::~TransactionImpl()
+PendingTransactionImpl::~PendingTransactionImpl()
{
}
-int TransactionImpl::status() const
+int PendingTransactionImpl::status() const
{
return m_status;
}
-string TransactionImpl::errorString() const
+string PendingTransactionImpl::errorString() const
{
return m_errorString;
}
-bool TransactionImpl::commit()
+bool PendingTransactionImpl::commit()
{
LOG_PRINT_L0("m_pending_tx size: " << m_pending_tx.size());
@@ -105,7 +105,7 @@ bool TransactionImpl::commit()
return m_status == Status_Ok;
}
-uint64_t TransactionImpl::amount() const
+uint64_t PendingTransactionImpl::amount() const
{
uint64_t result = 0;
for (const auto &ptx : m_pending_tx) {
@@ -116,7 +116,7 @@ uint64_t TransactionImpl::amount() const
return result;
}
-uint64_t TransactionImpl::dust() const
+uint64_t PendingTransactionImpl::dust() const
{
uint32_t result = 0;
for (const auto & ptx : m_pending_tx) {
@@ -125,7 +125,7 @@ uint64_t TransactionImpl::dust() const
return result;
}
-uint64_t TransactionImpl::fee() const
+uint64_t PendingTransactionImpl::fee() const
{
uint32_t result = 0;
for (const auto ptx : m_pending_tx) {