Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | public: | ||||
//! Create transaction. | //! Create transaction. | ||||
virtual CTransactionRef | virtual CTransactionRef | ||||
createTransaction(const std::vector<CRecipient> &recipients, | createTransaction(const std::vector<CRecipient> &recipients, | ||||
const CCoinControl &coin_control, bool sign, | const CCoinControl &coin_control, bool sign, | ||||
int &change_pos, Amount &fee, | int &change_pos, Amount &fee, | ||||
std::string &fail_reason) = 0; | std::string &fail_reason) = 0; | ||||
//! Commit transaction. | //! Commit transaction. | ||||
virtual bool commitTransaction(CTransactionRef tx, WalletValueMap value_map, | virtual void commitTransaction(CTransactionRef tx, WalletValueMap value_map, | ||||
WalletOrderForm order_form, | WalletOrderForm order_form) = 0; | ||||
std::string &reject_reason) = 0; | |||||
//! Return whether transaction can be abandoned. | //! Return whether transaction can be abandoned. | ||||
virtual bool transactionCanBeAbandoned(const TxId &txid) = 0; | virtual bool transactionCanBeAbandoned(const TxId &txid) = 0; | ||||
//! Abandon transaction. | //! Abandon transaction. | ||||
virtual bool abandonTransaction(const TxId &txid) = 0; | virtual bool abandonTransaction(const TxId &txid) = 0; | ||||
//! Get a transaction. | //! Get a transaction. | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |