Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show First 20 Lines • Show All 162 Lines • ▼ Show 20 Lines | public: | ||||
virtual WalletTx getWalletTx(const TxId &txid) = 0; | virtual WalletTx getWalletTx(const TxId &txid) = 0; | ||||
//! Get list of all wallet transactions. | //! Get list of all wallet transactions. | ||||
virtual std::vector<WalletTx> getWalletTxs() = 0; | virtual std::vector<WalletTx> getWalletTxs() = 0; | ||||
//! Try to get updated status for a particular transaction, if possible | //! Try to get updated status for a particular transaction, if possible | ||||
//! without blocking. | //! without blocking. | ||||
virtual bool tryGetTxStatus(const TxId &txid, WalletTxStatus &tx_status, | virtual bool tryGetTxStatus(const TxId &txid, WalletTxStatus &tx_status, | ||||
int &num_blocks, int64_t &adjusted_time) = 0; | int &num_blocks) = 0; | ||||
//! Get transaction details. | //! Get transaction details. | ||||
virtual WalletTx getWalletTxDetails(const TxId &txid, | virtual WalletTx getWalletTxDetails(const TxId &txid, | ||||
WalletTxStatus &tx_status, | WalletTxStatus &tx_status, | ||||
WalletOrderForm &order_form, | WalletOrderForm &order_form, | ||||
bool &in_mempool, int &num_blocks, | bool &in_mempool, int &num_blocks) = 0; | ||||
int64_t &adjusted_time) = 0; | |||||
//! Get balances. | //! Get balances. | ||||
virtual WalletBalances getBalances() = 0; | virtual WalletBalances getBalances() = 0; | ||||
//! Get balances if possible without blocking. | //! Get balances if possible without blocking. | ||||
virtual bool tryGetBalances(WalletBalances &balances, int &num_blocks) = 0; | virtual bool tryGetBalances(WalletBalances &balances, int &num_blocks) = 0; | ||||
//! Get balance. | //! Get balance. | ||||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |