Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 280 Lines • ▼ Show 20 Lines | public: | ||||
mutable bool fAvailableCreditCached; | mutable bool fAvailableCreditCached; | ||||
mutable bool fWatchDebitCached; | mutable bool fWatchDebitCached; | ||||
mutable bool fWatchCreditCached; | mutable bool fWatchCreditCached; | ||||
mutable bool fImmatureWatchCreditCached; | mutable bool fImmatureWatchCreditCached; | ||||
mutable bool fAvailableWatchCreditCached; | mutable bool fAvailableWatchCreditCached; | ||||
mutable bool fChangeCached; | mutable bool fChangeCached; | ||||
mutable Amount nDebitCached; | mutable Amount nDebitCached; | ||||
mutable Amount nCreditCached; | mutable Amount nCreditCached; | ||||
mutable CAmount nImmatureCreditCached; | mutable Amount nImmatureCreditCached; | ||||
mutable CAmount nAvailableCreditCached; | mutable CAmount nAvailableCreditCached; | ||||
mutable CAmount nWatchDebitCached; | mutable CAmount nWatchDebitCached; | ||||
mutable CAmount nWatchCreditCached; | mutable CAmount nWatchCreditCached; | ||||
mutable CAmount nImmatureWatchCreditCached; | mutable CAmount nImmatureWatchCreditCached; | ||||
mutable CAmount nAvailableWatchCreditCached; | mutable CAmount nAvailableWatchCreditCached; | ||||
mutable Amount nChangeCached; | mutable Amount nChangeCached; | ||||
CWalletTx() { Init(nullptr); } | CWalletTx() { Init(nullptr); } | ||||
▲ Show 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | public: | ||||
void BindWallet(CWallet *pwalletIn) { | void BindWallet(CWallet *pwalletIn) { | ||||
pwallet = pwalletIn; | pwallet = 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; | ||||
CAmount GetImmatureCredit(bool fUseCache = true) const; | Amount GetImmatureCredit(bool fUseCache = true) const; | ||||
CAmount GetAvailableCredit(bool fUseCache = true) const; | CAmount GetAvailableCredit(bool fUseCache = true) const; | ||||
CAmount GetImmatureWatchOnlyCredit(const bool &fUseCache = true) const; | CAmount GetImmatureWatchOnlyCredit(const bool &fUseCache = true) const; | ||||
CAmount GetAvailableWatchOnlyCredit(const bool &fUseCache = true) const; | CAmount 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, CAmount &nFee, | std::list<COutputEntry> &listSent, CAmount &nFee, | ||||
std::string &strSentAccount, | std::string &strSentAccount, | ||||
▲ Show 20 Lines • Show All 729 Lines • Show Last 20 Lines |