mirror of
https://git.wownero.com/wownero/wownero.git
synced 2025-03-13 21:46:40 +00:00
37 lines
876 B
C++
37 lines
876 B
C++
#ifndef WOWLET_PENDING_TX_H
|
|
#define WOWLET_PENDING_TX_H
|
|
|
|
#include "wallet/api/wallet2_api.h"
|
|
#include "wallet/wallet2.h"
|
|
#include "wallet.h"
|
|
#include <string>
|
|
|
|
namespace Monero {
|
|
|
|
class PendingTransactionImpl;
|
|
|
|
class PendingTransactionInfoImpl : public PendingTransactionInfo
|
|
{
|
|
public:
|
|
PendingTransactionInfoImpl(WalletImpl &wallet, const tools::wallet2::pending_tx & ptx);
|
|
~PendingTransactionInfoImpl() override;
|
|
|
|
uint64_t fee() const override;
|
|
uint64_t dust() const override;
|
|
bool dustAddedToFee() const override;
|
|
std::string txKey() const override;
|
|
TransactionConstructionInfo *constructionData() const override;
|
|
// Output change() const override;
|
|
|
|
private:
|
|
friend class WalletImpl;
|
|
WalletImpl &m_wallet;
|
|
tools::wallet2::pending_tx m_ptx;
|
|
TransactionConstructionInfo *m_constructionData;
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //FEATHER_PENDING_TX_H
|