mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
32 lines
788 B
C++
32 lines
788 B
C++
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
// Copyright (c) 2014-2020, The Monero Project.
|
||
|
|
||
|
#include "PendingTransactionInfo.h"
|
||
|
#include "Input.h"
|
||
|
#include "Transfer.h"
|
||
|
|
||
|
quint64 PendingTransactionInfo::fee() const {
|
||
|
return m_fee;
|
||
|
}
|
||
|
|
||
|
quint64 PendingTransactionInfo::dust() const {
|
||
|
return m_dust;
|
||
|
}
|
||
|
|
||
|
bool PendingTransactionInfo::dustAddedToFee() const {
|
||
|
return m_dustAddedToFee;
|
||
|
}
|
||
|
|
||
|
QString PendingTransactionInfo::txKey() const {
|
||
|
return m_txKey;
|
||
|
}
|
||
|
|
||
|
PendingTransactionInfo::PendingTransactionInfo(const Monero::PendingTransactionInfo *pimpl, QObject *parent)
|
||
|
: ConstructionInfo(pimpl->constructionData(), parent)
|
||
|
, m_fee(pimpl->fee())
|
||
|
, m_dust(pimpl->dust())
|
||
|
, m_dustAddedToFee(pimpl->dustAddedToFee())
|
||
|
, m_txKey(QString::fromStdString(pimpl->txKey()))
|
||
|
{
|
||
|
|
||
|
}
|