Changeset View
Changeset View
Standalone View
Standalone View
src/keystore.h
Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | public: | ||||
bool HaveWatchOnly(const CScript &dest) const override; | bool HaveWatchOnly(const CScript &dest) const override; | ||||
bool HaveWatchOnly() const override; | bool HaveWatchOnly() const override; | ||||
}; | }; | ||||
typedef std::vector<uint8_t, secure_allocator<uint8_t>> CKeyingMaterial; | typedef std::vector<uint8_t, secure_allocator<uint8_t>> CKeyingMaterial; | ||||
typedef std::map<CKeyID, std::pair<CPubKey, std::vector<uint8_t>>> | typedef std::map<CKeyID, std::pair<CPubKey, std::vector<uint8_t>>> | ||||
CryptedKeyMap; | CryptedKeyMap; | ||||
/** | |||||
* Return the CKeyID of the key involved in a script (if there is a unique one). | |||||
*/ | |||||
CKeyID GetKeyForDestination(const CKeyStore &store, const CTxDestination &dest); | |||||
#endif // BITCOIN_KEYSTORE_H | #endif // BITCOIN_KEYSTORE_H |