Debian Codegraph @

monero/src/wallet/api/pending_transaction_info.h

raw symbols SCIP
1 #ifndef FEATHER_PENDING_TX_H
2 #define FEATHER_PENDING_TX_H
3
4 #include "wallet/api/wallet2_api.h"
5 #include "wallet/wallet2.h"
6 #include "wallet.h"
7 #include <string>
8
9 namespace Monero {
10
11 class PendingTransactionImpl;
12
13 class PendingTransactionInfoImpl : public PendingTransactionInfo
14 {
15 public:
16 PendingTransactionInfoImpl(WalletImpl &wallet, const tools::wallet2::pending_tx & ptx);
17 ~PendingTransactionInfoImpl() override;
18
19 uint64_t fee() const override;
20 uint64_t dust() const override;
21 bool dustAddedToFee() const override;
22 std::string txKey() const override;
23 TransactionConstructionInfo *constructionData() const override;
24 // Output change() const override;
25
26 private:
27 friend class WalletImpl;
28 WalletImpl &m_wallet;
29 tools::wallet2::pending_tx m_ptx;
30 TransactionConstructionInfo *m_constructionData;
31 };
32
33 }
34
35
36
37 #endif //FEATHER_PENDING_TX_H