Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.h
| Show First 20 Lines • Show All 1,248 Lines • ▼ Show 20 Lines | public: | ||||
| void MarkDestinationsDirty(const std::set<CTxDestination> &destinations) | void MarkDestinationsDirty(const std::set<CTxDestination> &destinations) | ||||
| EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
| bool GetNewDestination(const OutputType type, const std::string label, | bool GetNewDestination(const OutputType type, const std::string label, | ||||
| CTxDestination &dest, std::string &error); | CTxDestination &dest, std::string &error); | ||||
| bool GetNewChangeDestination(const OutputType type, CTxDestination &dest, | bool GetNewChangeDestination(const OutputType type, CTxDestination &dest, | ||||
| std::string &error); | std::string &error); | ||||
| isminetype IsMine(const CTxDestination &dest) const; | isminetype IsMine(const CTxDestination &dest) const | ||||
| isminetype IsMine(const CScript &script) const; | EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | ||||
| isminetype IsMine(const CTxIn &txin) const; | isminetype IsMine(const CScript &script) const | ||||
| EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | |||||
| isminetype IsMine(const CTxIn &txin) const | |||||
| EXCLUSIVE_LOCKS_REQUIRED(cs_wallet); | |||||
| /** | /** | ||||
| * 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); | |||||
| ; | |||||
| 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; | 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 | ||||
| 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; | ||||
| Amount GetChange(const CTransaction &tx) const; | Amount GetChange(const CTransaction &tx) const; | ||||
| void chainStateFlushed(const CBlockLocator &loc) override; | void chainStateFlushed(const CBlockLocator &loc) override; | ||||
| ▲ Show 20 Lines • Show All 351 Lines • Show Last 20 Lines | |||||