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