Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,263 Lines • ▼ Show 20 Lines | public: | ||||
* Returns amount of debit if the input matches the filter, otherwise | * Returns amount of debit if the input matches the filter, otherwise | ||||
* returns 0 | * returns 0 | ||||
*/ | */ | ||||
Amount GetDebit(const CTxIn &txin, const isminefilter &filter) const; | Amount GetDebit(const CTxIn &txin, const isminefilter &filter) const; | ||||
isminetype IsMine(const CTxOut &txout) const | isminetype IsMine(const CTxOut &txout) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
; | ; | ||||
Amount GetCredit(const CTxOut &txout, const isminefilter &filter) const; | Amount GetCredit(const CTxOut &txout, const isminefilter &filter) const; | ||||
bool IsChange(const CTxOut &txout) const; | bool IsChange(const CTxOut &txout) const | ||||
bool IsChange(const CScript &script) const; | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
Amount GetChange(const CTxOut &txout) const; | bool IsChange(const CScript &script) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | |||||
Amount GetChange(const CTxOut &txout) const | |||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | |||||
bool IsMine(const CTransaction &tx) const | bool IsMine(const CTransaction &tx) const | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
/** should probably be renamed to IsRelevantToMe */ | /** should probably be renamed to IsRelevantToMe */ | ||||
bool IsFromMe(const CTransaction &tx) const; | bool IsFromMe(const CTransaction &tx) const; | ||||
Amount GetDebit(const CTransaction &tx, const isminefilter &filter) const; | Amount GetDebit(const CTransaction &tx, const isminefilter &filter) const; | ||||
/** Returns whether all of the inputs match the filter */ | /** Returns whether all of the inputs match the filter */ | ||||
bool IsAllFromMe(const CTransaction &tx, const isminefilter &filter) const; | bool IsAllFromMe(const CTransaction &tx, const isminefilter &filter) const; | ||||
Amount GetCredit(const CTransaction &tx, const isminefilter &filter) const; | Amount GetCredit(const CTransaction &tx, const isminefilter &filter) const; | ||||
▲ Show 20 Lines • Show All 353 Lines • Show Last 20 Lines |