Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 508 Lines • ▼ Show 20 Lines | public: | ||||
//! 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(interfaces::Chain::Lock &locked_chain, | Amount GetCredit(interfaces::Chain::Lock &locked_chain, | ||||
const isminefilter &filter) const; | const isminefilter &filter) const; | ||||
Amount GetImmatureCredit(interfaces::Chain::Lock &locked_chain, | Amount GetImmatureCredit(interfaces::Chain::Lock &locked_chain, | ||||
bool fUseCache = true) const; | bool fUseCache = true) const; | ||||
// TODO: Remove "NO_THREAD_SAFETY_ANALYSIS" and replace it with the correct | // TODO: Remove "NO_THREAD_SAFETY_ANALYSIS" and replace it with the correct | ||||
// annotation "EXCLUSIVE_LOCKS_REQUIRED(cs_main, pwallet->cs_wallet)". The | // annotation "EXCLUSIVE_LOCKS_REQUIRED(pwallet->cs_wallet)". The | ||||
// annotation "NO_THREAD_SAFETY_ANALYSIS" was temporarily added to avoid | // annotation "NO_THREAD_SAFETY_ANALYSIS" was temporarily added to avoid | ||||
// having to resolve the issue of member access into incomplete type | // having to resolve the issue of member access into incomplete type | ||||
// CWallet. | // CWallet. | ||||
Amount GetAvailableCredit(interfaces::Chain::Lock &locked_chain, | Amount GetAvailableCredit(interfaces::Chain::Lock &locked_chain, | ||||
bool fUseCache = true, | bool fUseCache = true, | ||||
const isminefilter &filter = ISMINE_SPENDABLE) | const isminefilter &filter = ISMINE_SPENDABLE) | ||||
const NO_THREAD_SAFETY_ANALYSIS; | const NO_THREAD_SAFETY_ANALYSIS; | ||||
Amount GetImmatureWatchOnlyCredit(interfaces::Chain::Lock &locked_chain, | Amount GetImmatureWatchOnlyCredit(interfaces::Chain::Lock &locked_chain, | ||||
▲ Show 20 Lines • Show All 994 Lines • Show Last 20 Lines |