Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
Show First 20 Lines • Show All 1,288 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; | ||||
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; | |||||
Amount GetChange(const CTxOut &txout) const; | Amount GetChange(const CTxOut &txout) const; | ||||
bool IsMine(const CTransaction &tx) const; | bool IsMine(const CTransaction &tx) const; | ||||
/** 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 324 Lines • Show Last 20 Lines |