Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/ismine.h
Show All 13 Lines | |||||
class CWallet; | class CWallet; | ||||
class CScript; | class CScript; | ||||
/** IsMine() return codes */ | /** IsMine() return codes */ | ||||
enum isminetype : unsigned int { | enum isminetype : unsigned int { | ||||
ISMINE_NO = 0, | ISMINE_NO = 0, | ||||
ISMINE_WATCH_ONLY = 1 << 0, | ISMINE_WATCH_ONLY = 1 << 0, | ||||
ISMINE_SPENDABLE = 1 << 1, | ISMINE_SPENDABLE = 1 << 1, | ||||
ISMINE_USED = 1 << 2, | |||||
ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE, | ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE, | ||||
ISMINE_ALL_USED = ISMINE_ALL | ISMINE_USED, | |||||
ISMINE_ENUM_ELEMENTS, | ISMINE_ENUM_ELEMENTS, | ||||
}; | }; | ||||
/** used for bitflags of isminetype */ | /** used for bitflags of isminetype */ | ||||
typedef uint8_t isminefilter; | typedef uint8_t isminefilter; | ||||
isminetype IsMine(const CWallet &wallet, const CScript &scriptPubKey); | isminetype IsMine(const CWallet &wallet, const CScript &scriptPubKey); | ||||
isminetype IsMine(const CWallet &wallet, const CTxDestination &dest); | isminetype IsMine(const CWallet &wallet, const CTxDestination &dest); | ||||
Show All 16 Lines |