Changeset View
Changeset View
Standalone View
Standalone View
src/interfaces/wallet.h
Show All 29 Lines | |||||
class CWallet; | class CWallet; | ||||
enum isminetype : unsigned int; | enum isminetype : unsigned int; | ||||
enum class FeeReason; | enum class FeeReason; | ||||
typedef uint8_t isminefilter; | typedef uint8_t isminefilter; | ||||
enum class OutputType; | enum class OutputType; | ||||
struct CRecipient; | struct CRecipient; | ||||
struct TxId; | struct TxId; | ||||
struct bilingual_str; | |||||
namespace interfaces { | namespace interfaces { | ||||
class Handler; | class Handler; | ||||
struct WalletAddress; | struct WalletAddress; | ||||
struct WalletBalances; | struct WalletBalances; | ||||
struct WalletTx; | struct WalletTx; | ||||
struct WalletTxOut; | struct WalletTxOut; | ||||
▲ Show 20 Lines • Show All 105 Lines • ▼ Show 20 Lines | public: | ||||
//! List locked coins. | //! List locked coins. | ||||
virtual void listLockedCoins(std::vector<COutPoint> &outputs) = 0; | virtual void listLockedCoins(std::vector<COutPoint> &outputs) = 0; | ||||
//! 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; | bilingual_str &fail_reason) = 0; | ||||
//! Commit transaction. | //! Commit transaction. | ||||
virtual void commitTransaction(CTransactionRef tx, WalletValueMap value_map, | virtual void commitTransaction(CTransactionRef tx, WalletValueMap value_map, | ||||
WalletOrderForm order_form) = 0; | WalletOrderForm order_form) = 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; | ||||
▲ Show 20 Lines • Show All 201 Lines • Show Last 20 Lines |