Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,008 Lines • ▼ Show 20 Lines | public: | ||||
* 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, | CWalletTx &wtxNew, CReserveKey &reservekey, | ||||
Amount &nFeeRet, int &nChangePosInOut, | Amount &nFeeRet, int &nChangePosInOut, | ||||
std::string &strFailReason, | std::string &strFailReason, | ||||
const CCoinControl *coinControl = nullptr, | const CCoinControl &coinControl, bool sign = true); | ||||
bool sign = true); | |||||
bool CommitTransaction(CWalletTx &wtxNew, CReserveKey &reservekey, | bool CommitTransaction(CWalletTx &wtxNew, CReserveKey &reservekey, | ||||
CConnman *connman, CValidationState &state); | 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> | ||||
▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines |