Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 424 Lines • ▼ Show 20 Lines | void BindWallet(CWallet *pwalletIn) { | ||||
MarkDirty(); | MarkDirty(); | ||||
} | } | ||||
//! filter decides which addresses will count towards the debit | //! filter decides which addresses will count towards the debit | ||||
Amount GetDebit(const isminefilter &filter) const; | Amount GetDebit(const isminefilter &filter) const; | ||||
Amount GetCredit(const isminefilter &filter) const; | Amount GetCredit(const isminefilter &filter) const; | ||||
Amount GetImmatureCredit(bool fUseCache = true) const; | Amount GetImmatureCredit(bool fUseCache = true) const; | ||||
Amount GetAvailableCredit(bool fUseCache = true) const; | Amount GetAvailableCredit(bool fUseCache = true) const; | ||||
Amount GetImmatureWatchOnlyCredit(const bool &fUseCache = true) const; | Amount GetImmatureWatchOnlyCredit(const bool fUseCache = true) const; | ||||
Amount GetAvailableWatchOnlyCredit(const bool &fUseCache = true) const; | Amount GetAvailableWatchOnlyCredit(const bool fUseCache = true) const; | ||||
Amount GetChange() const; | Amount GetChange() const; | ||||
void GetAmounts(std::list<COutputEntry> &listReceived, | void GetAmounts(std::list<COutputEntry> &listReceived, | ||||
std::list<COutputEntry> &listSent, Amount &nFee, | std::list<COutputEntry> &listSent, Amount &nFee, | ||||
std::string &strSentAccount, | std::string &strSentAccount, | ||||
const isminefilter &filter) const; | const isminefilter &filter) const; | ||||
bool IsFromMe(const isminefilter &filter) const { | bool IsFromMe(const isminefilter &filter) const { | ||||
▲ Show 20 Lines • Show All 382 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* populate vCoins with vector of available COutputs. | * populate vCoins with vector of available COutputs. | ||||
*/ | */ | ||||
void AvailableCoins(std::vector<COutput> &vCoins, bool fOnlySafe = true, | void AvailableCoins(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 int &nMinDepth = 0, | const int nMinDepth = 0, | ||||
const int &nMaxDepth = 9999999) const; | const int nMaxDepth = 9999999) const; | ||||
/** | /** | ||||
* 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>> ListCoins() const; | std::map<CTxDestination, std::vector<COutput>> ListCoins() const; | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 443 Lines • Show Last 20 Lines |