Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 987 Lines • ▼ Show 20 Lines | Amount GetLegacyBalance(const isminefilter &filter, int minDepth, | ||||
const std::string *account) const; | const std::string *account) const; | ||||
Amount GetAvailableBalance(const CCoinControl *coinControl = nullptr) const; | Amount GetAvailableBalance(const CCoinControl *coinControl = nullptr) const; | ||||
/** | /** | ||||
* Insert additional inputs into the transaction by calling | * Insert additional inputs into the transaction by calling | ||||
* CreateTransaction(); | * CreateTransaction(); | ||||
*/ | */ | ||||
bool FundTransaction(CMutableTransaction &tx, Amount &nFeeRet, | bool FundTransaction(CMutableTransaction &tx, Amount &nFeeRet, | ||||
bool overrideEstimatedFeeRate, | int &nChangePosInOut, std::string &strFailReason, | ||||
const CFeeRate &specificFeeRate, int &nChangePosInOut, | |||||
std::string &strFailReason, bool includeWatching, | |||||
bool lockUnspents, | bool lockUnspents, | ||||
const std::set<int> &setSubtractFeeFromOutputs, | const std::set<int> &setSubtractFeeFromOutputs, | ||||
bool keepReserveKey = true, | CCoinControl coinControl, bool keepReserveKey = true); | ||||
const CTxDestination &destChange = CNoDestination()); | |||||
bool SignTransaction(CMutableTransaction &tx); | bool SignTransaction(CMutableTransaction &tx); | ||||
/** | /** | ||||
* 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 | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 275 Lines • Show Last 20 Lines |