Changeset View
Changeset View
Standalone View
Standalone View
src/keystore.h
Show First 20 Lines • Show All 82 Lines • ▼ Show 20 Lines | |||||
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). | * Return the CKeyID of the key involved in a script (if there is a unique one). | ||||
*/ | */ | ||||
CKeyID GetKeyForDestination(const CKeyStore &store, const CTxDestination &dest); | CKeyID GetKeyForDestination(const CKeyStore &store, const CTxDestination &dest); | ||||
/** Checks if a CKey is in the given CKeyStore compressed or otherwise*/ | |||||
bool HaveKey(const CKeyStore &store, const CKey &key); | |||||
#endif // BITCOIN_KEYSTORE_H | #endif // BITCOIN_KEYSTORE_H |