Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,021 Lines • ▼ Show 20 Lines | public: | ||||
* populate vCoins with vector of available COutputs. | * populate vCoins with vector of available COutputs. | ||||
*/ | */ | ||||
void AvailableCoins(interfaces::Chain::Lock &locked_chain, | void AvailableCoins(interfaces::Chain::Lock &locked_chain, | ||||
std::vector<COutput> &vCoins, bool fOnlySafe = true, | std::vector<COutput> &vCoins, bool fOnlySafe = true, | ||||
const CCoinControl *coinControl = nullptr, | const CCoinControl *coinControl = nullptr, | ||||
const Amount nMinimumAmount = SATOSHI, | const Amount nMinimumAmount = SATOSHI, | ||||
const Amount nMaximumAmount = MAX_MONEY, | const Amount nMaximumAmount = MAX_MONEY, | ||||
const Amount nMinimumSumAmount = MAX_MONEY, | const Amount nMinimumSumAmount = MAX_MONEY, | ||||
const uint64_t nMaximumCount = 0, | const uint64_t nMaximumCount = 0) const | ||||
const int nMinDepth = 0, | |||||
const int nMaxDepth = 9999999) const | |||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
/** | /** | ||||
* Return list of available coins and locked coins grouped by non-change | * Return list of available coins and locked coins grouped by non-change | ||||
* output address. | * output address. | ||||
*/ | */ | ||||
std::map<CTxDestination, std::vector<COutput>> | std::map<CTxDestination, std::vector<COutput>> | ||||
ListCoins(interfaces::Chain::Lock &locked_chain) const | ListCoins(interfaces::Chain::Lock &locked_chain) const | ||||
▲ Show 20 Lines • Show All 644 Lines • Show Last 20 Lines |