Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
keystore.h
Go to the documentation of this file.
virtual bool AddKeyPubKey(const CKey &key, const CPubKey &pubkey)=0
Add a key to the store.
bool GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) const override
Definition: keystore.cpp:14
bool HaveCScript(const CScriptID &hash) const override
Definition: keystore.cpp:74
std::set< CScriptID > GetCScripts() const override
Definition: keystore.cpp:80
bool GetCScript(const CScriptID &hash, CScript &redeemScriptOut) const override
Definition: keystore.cpp:90
std::vector< unsigned char, secure_allocator< unsigned char > > CKeyingMaterial
Definition: keystore.h:85
bool AddCScript(const CScript &redeemScript) override
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
Definition: keystore.cpp:64
std::map< CKeyID, std::pair< CPubKey, std::vector< unsigned char > > > CryptedKeyMap
Definition: keystore.h:86
virtual bool AddWatchOnly(const CScript &dest)=0
Support for Watch-only addresses.
virtual std::set< CScriptID > GetCScripts() const =0
virtual bool AddCScript(const CScript &redeemScript)=0
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
virtual bool HaveCScript(const CScriptID &hash) const =0
virtual bool HaveKey(const CKeyID &address) const =0
Check whether a key corresponding to a given address is present in the store.
virtual bool RemoveWatchOnly(const CScript &dest)=0
bool AddKeyPubKey(const CKey &key, const CPubKey &pubkey) override
Add a key to the store.
Definition: keystore.cpp:30
virtual bool GetKey(const CKeyID &address, CKey &keyOut) const =0
bool GetKey(const CKeyID &address, CKey &keyOut) const override
Definition: keystore.cpp:53
bool RemoveWatchOnly(const CScript &dest) override
Definition: keystore.cpp:128
virtual bool GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) const =0
Definition: hdchain.h:28
virtual bool HaveWatchOnly() const =0
A reference to a CScript: the Hash160 of its serialization (see script.h)
Definition: standard.h:22
virtual std::set< CKeyID > GetKeys() const =0
bool HaveKey(const CKeyID &address) const override
Check whether a key corresponding to a given address is present in the store.
Definition: keystore.cpp:37
Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the re...
Definition: sync.h:94
virtual bool GetCScript(const CScriptID &hash, CScript &redeemScriptOut) const =0
bool AddWatchOnly(const CScript &dest) override
Support for Watch-only addresses.
Definition: keystore.cpp:118
virtual bool GetHDChain(CHDChain &hdChainRet) const
Definition: keystore.cpp:150