![]() |
Bitcoin Core 22.99.0
P2P Digital Currency
|
#include <consensus/amount.h>#include <wallet/ismine.h>#include <wallet/transaction.h>#include <wallet/wallet.h>Go to the source code of this file.
Classes | |
| struct | COutputEntry |
| struct | Balance |
Functions | |
| isminetype | InputIsMine (const CWallet &wallet, const CTxIn &txin) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| bool | AllInputsMine (const CWallet &wallet, const CTransaction &tx, const isminefilter &filter) |
| Returns whether all of the inputs match the filter. More... | |
| CAmount | OutputGetCredit (const CWallet &wallet, const CTxOut &txout, const isminefilter &filter) |
| CAmount | TxGetCredit (const CWallet &wallet, const CTransaction &tx, const isminefilter &filter) |
| bool | ScriptIsChange (const CWallet &wallet, const CScript &script) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| bool | OutputIsChange (const CWallet &wallet, const CTxOut &txout) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| CAmount | OutputGetChange (const CWallet &wallet, const CTxOut &txout) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| CAmount | TxGetChange (const CWallet &wallet, const CTransaction &tx) |
| CAmount | CachedTxGetCredit (const CWallet &wallet, const CWalletTx &wtx, const isminefilter &filter) |
| CAmount | CachedTxGetDebit (const CWallet &wallet, const CWalletTx &wtx, const isminefilter &filter) |
| filter decides which addresses will count towards the debit More... | |
| CAmount | CachedTxGetChange (const CWallet &wallet, const CWalletTx &wtx) |
| CAmount | CachedTxGetImmatureCredit (const CWallet &wallet, const CWalletTx &wtx, bool fUseCache=true) |
| CAmount | CachedTxGetImmatureWatchOnlyCredit (const CWallet &wallet, const CWalletTx &wtx, const bool fUseCache=true) |
| CAmount | CachedTxGetAvailableCredit (const CWallet &wallet, const CWalletTx &wtx, bool fUseCache=true, const isminefilter &filter=ISMINE_SPENDABLE) NO_THREAD_SAFETY_ANALYSIS |
| void | CachedTxGetAmounts (const CWallet &wallet, const CWalletTx &wtx, std::list< COutputEntry > &listReceived, std::list< COutputEntry > &listSent, CAmount &nFee, const isminefilter &filter) |
| bool | CachedTxIsFromMe (const CWallet &wallet, const CWalletTx &wtx, const isminefilter &filter) |
| bool | CachedTxIsTrusted (const CWallet &wallet, const CWalletTx &wtx, std::set< uint256 > &trusted_parents) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| bool | CachedTxIsTrusted (const CWallet &wallet, const CWalletTx &wtx) |
| Balance | GetBalance (const CWallet &wallet, int min_depth=0, bool avoid_reuse=true) |
| std::map< CTxDestination, CAmount > | GetAddressBalances (const CWallet &wallet) |
| std::set< std::set< CTxDestination > > | GetAddressGroupings (const CWallet &wallet) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet) |
| bool AllInputsMine | ( | const CWallet & | wallet, |
| const CTransaction & | tx, | ||
| const isminefilter & | filter | ||
| ) |
Returns whether all of the inputs match the filter.
Definition at line 24 of file receive.cpp.
| void CachedTxGetAmounts | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| std::list< COutputEntry > & | listReceived, | ||
| std::list< COutputEntry > & | listSent, | ||
| CAmount & | nFee, | ||
| const isminefilter & | filter | ||
| ) |
Definition at line 216 of file receive.cpp.
| CAmount CachedTxGetAvailableCredit | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| bool | fUseCache = true, |
||
| const isminefilter & | filter = ISMINE_SPENDABLE |
||
| ) |
Definition at line 182 of file receive.cpp.
| CAmount CachedTxGetCredit | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| const isminefilter & | filter | ||
| ) |
Definition at line 123 of file receive.cpp.
| CAmount CachedTxGetDebit | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| const isminefilter & | filter | ||
| ) |
filter decides which addresses will count towards the debit
Definition at line 140 of file receive.cpp.
| CAmount CachedTxGetImmatureCredit | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| bool | fUseCache = true |
||
| ) |
Definition at line 164 of file receive.cpp.
| CAmount CachedTxGetImmatureWatchOnlyCredit | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| const bool | fUseCache = true |
||
| ) |
Definition at line 173 of file receive.cpp.
| bool CachedTxIsFromMe | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| const isminefilter & | filter | ||
| ) |
Definition at line 273 of file receive.cpp.
| bool CachedTxIsTrusted | ( | const CWallet & | wallet, |
| const CWalletTx & | wtx, | ||
| std::set< uint256 > & | trusted_parents | ||
| ) |
Definition at line 278 of file receive.cpp.
| std::map< CTxDestination, CAmount > GetAddressBalances | ( | const CWallet & | wallet | ) |
Definition at line 346 of file receive.cpp.
| std::set< std::set< CTxDestination > > GetAddressGroupings | ( | const CWallet & | wallet | ) |
Definition at line 384 of file receive.cpp.
Definition at line 317 of file receive.cpp.
| isminetype InputIsMine | ( | const CWallet & | wallet, |
| const CTxIn & | txin | ||
| ) |
Definition at line 11 of file receive.cpp.
Definition at line 92 of file receive.cpp.
| CAmount OutputGetCredit | ( | const CWallet & | wallet, |
| const CTxOut & | txout, | ||
| const isminefilter & | filter | ||
| ) |
Definition at line 45 of file receive.cpp.
Definition at line 87 of file receive.cpp.
Definition at line 65 of file receive.cpp.
| CAmount TxGetChange | ( | const CWallet & | wallet, |
| const CTransaction & | tx | ||
| ) |
Definition at line 100 of file receive.cpp.
| CAmount TxGetCredit | ( | const CWallet & | wallet, |
| const CTransaction & | tx, | ||
| const isminefilter & | filter | ||
| ) |
Definition at line 53 of file receive.cpp.