You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
937 B
32 lines
937 B
3 years ago
|
#ifndef WOWLET_TRANSACTION_CONSTRUCTION_INFO_H
|
||
|
#define WOWLET_TRANSACTION_CONSTRUCTION_INFO_H
|
||
|
|
||
|
#include "wallet/api/wallet2_api.h"
|
||
|
#include "wallet/wallet2.h"
|
||
|
#include "wallet.h"
|
||
|
#include <string>
|
||
|
|
||
|
namespace Monero {
|
||
|
|
||
|
class TransactionConstructionInfoImpl : public TransactionConstructionInfo
|
||
|
{
|
||
|
public:
|
||
|
TransactionConstructionInfoImpl(WalletImpl &wallet, const tools::wallet2::tx_construction_data & ptx);
|
||
|
~TransactionConstructionInfoImpl() override;
|
||
|
|
||
|
uint64_t unlockTime() const override;
|
||
|
std::set<std::uint32_t> subaddressIndices() const override;
|
||
|
std::vector<std::string> subaddresses() const override;
|
||
|
uint64_t minMixinCount() const override;
|
||
|
std::vector<Input> inputs() const override;
|
||
|
std::vector<Output> outputs() const override;
|
||
|
|
||
|
private:
|
||
|
friend class WalletImpl;
|
||
|
WalletImpl &m_wallet;
|
||
|
tools::wallet2::tx_construction_data m_txcd;
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif //WOWLET_TRANSACTION_CONSTRUCTION_INFO_H
|