Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,000 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Create a new transaction paying the recipients with a set of coins | * Create a new transaction paying the recipients with a set of coins | ||||
* selected by SelectCoins(); Also create the change output, when needed | * selected by SelectCoins(); Also create the change output, when needed | ||||
* @note passing nChangePosInOut as -1 will result in setting a random | * @note passing nChangePosInOut as -1 will result in setting a random | ||||
* position | * position | ||||
*/ | */ | ||||
bool CreateTransaction(const std::vector<CRecipient> &vecSend, | bool CreateTransaction(const std::vector<CRecipient> &vecSend, | ||||
CWalletTx &wtxNew, CReserveKey &reservekey, | CTransactionRef &tx, CReserveKey &reservekey, | ||||
Amount &nFeeRet, int &nChangePosInOut, | Amount &nFeeRet, int &nChangePosInOut, | ||||
std::string &strFailReason, | std::string &strFailReason, | ||||
const CCoinControl &coinControl, bool sign = true); | const CCoinControl &coinControl, bool sign = true); | ||||
bool CommitTransaction(CWalletTx &wtxNew, CReserveKey &reservekey, | bool CommitTransaction( | ||||
CConnman *connman, CValidationState &state); | CTransactionRef tx, mapValue_t mapValue, | ||||
std::vector<std::pair<std::string, std::string>> orderForm, | |||||
std::string fromAccount, CReserveKey &reservekey, CConnman *connman, | |||||
CValidationState &state); | |||||
void ListAccountCreditDebit(const std::string &strAccount, | void ListAccountCreditDebit(const std::string &strAccount, | ||||
std::list<CAccountingEntry> &entries); | std::list<CAccountingEntry> &entries); | ||||
bool AddAccountingEntry(const CAccountingEntry &); | bool AddAccountingEntry(const CAccountingEntry &); | ||||
bool AddAccountingEntry(const CAccountingEntry &, CWalletDB *pwalletdb); | bool AddAccountingEntry(const CAccountingEntry &, CWalletDB *pwalletdb); | ||||
template <typename ContainerType> | template <typename ContainerType> | ||||
bool DummySignTx(CMutableTransaction &txNew, | bool DummySignTx(CMutableTransaction &txNew, | ||||
const ContainerType &coins) const; | const ContainerType &coins) const; | ||||
▲ Show 20 Lines • Show All 259 Lines • Show Last 20 Lines |