7 #ifndef PIVX_SCRIPT_ISMINE_H
8 #define PIVX_SCRIPT_ISMINE_H
int64_t CAmount
Amount in PIV (Can be negative)
A virtual base class for key stores.
Serialized script, used inside transaction inputs and outputs.
boost::variant< CTxDestination, libzcash::SaplingPaymentAddress > CWDestination
isminetype
IsMine() return codes.
@ ISMINE_SPENDABLE_NO_DELEGATED
@ ISMINE_COLD
Indicates that we have the staking key of a P2CS.
@ ISMINE_SPENDABLE_SHIELDED
Indicates that we have the spending key of a shielded spend/output.
@ ISMINE_WATCH_ONLY_SHIELDED
Indicates that we don't have the spending key of a shielded spend/output.
@ ISMINE_SPENDABLE_TRANSPARENT
@ ISMINE_SPENDABLE_DELEGATED
Indicates that we have the spending key of a P2CS.
uint8_t isminefilter
used for bitflags of isminetype
isminetype IsMine(const CKeyStore &keystore, const CScript &scriptPubKey)
boost::variant< CNoDestination, CKeyID, CScriptID, CExchangeKeyID > CTxDestination
A txout script template with a specific destination.
Cacheable amount subdivided into watchonly and spendable parts.
void Set(isminefilter filter, CAmount value)
CAmount m_value[ISMINE_ENUM_ELEMENTS]
std::bitset< ISMINE_ENUM_ELEMENTS > m_cached