Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,203 Lines • ▼ Show 20 Lines | bool CreateTransaction(interfaces::Chain::Lock &locked_chain, | ||||
std::string &strFailReason, | std::string &strFailReason, | ||||
const CCoinControl &coin_control, bool sign = true); | const CCoinControl &coin_control, bool sign = true); | ||||
bool CommitTransaction( | bool CommitTransaction( | ||||
CTransactionRef tx, mapValue_t mapValue, | CTransactionRef tx, mapValue_t mapValue, | ||||
std::vector<std::pair<std::string, std::string>> orderForm, | std::vector<std::pair<std::string, std::string>> orderForm, | ||||
std::string fromAccount, CReserveKey &reservekey, CConnman *connman, | std::string fromAccount, CReserveKey &reservekey, CConnman *connman, | ||||
CValidationState &state); | CValidationState &state); | ||||
bool AddAccountingEntry(const CAccountingEntry &); | |||||
bool AddAccountingEntry(const CAccountingEntry &, WalletBatch *batch); | |||||
bool DummySignTx(CMutableTransaction &txNew, const std::set<CTxOut> &txouts, | bool DummySignTx(CMutableTransaction &txNew, const std::set<CTxOut> &txouts, | ||||
bool use_max_sig = false) const { | bool use_max_sig = false) const { | ||||
std::vector<CTxOut> v_txouts(txouts.size()); | std::vector<CTxOut> v_txouts(txouts.size()); | ||||
std::copy(txouts.begin(), txouts.end(), v_txouts.begin()); | std::copy(txouts.begin(), txouts.end(), v_txouts.begin()); | ||||
return DummySignTx(txNew, v_txouts, use_max_sig); | return DummySignTx(txNew, v_txouts, use_max_sig); | ||||
} | } | ||||
bool DummySignTx(CMutableTransaction &txNew, | bool DummySignTx(CMutableTransaction &txNew, | ||||
const std::vector<CTxOut> &txouts, | const std::vector<CTxOut> &txouts, | ||||
▲ Show 20 Lines • Show All 402 Lines • Show Last 20 Lines |