Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
keystore.cpp
Go to the documentation of this file.
67 return error("CBasicKeyStore::AddCScript(): redeemScripts > %i bytes are invalid", MAX_SCRIPT_ELEMENT_SIZE);
virtual bool AddKeyPubKey(const CKey &key, const CPubKey &pubkey)=0
Add a key to the store.
Definition: script.h:165
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
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
static bool ExtractPubKey(const CScript &dest, CPubKey &pubKeyOut)
Definition: keystore.cpp:102
Definition: prevector.h:100
CKeyID GetID() const
Get the KeyID of this public key (hash of its serialization)
Definition: pubkey.h:149
bool IsFullyValid() const
fully validate whether this is a valid public key (more expensive than IsValid()) ...
Definition: pubkey.cpp:206
bool AddKeyPubKey(const CKey &key, const CPubKey &pubkey) override
Add a key to the store.
Definition: keystore.cpp:30
bool GetKey(const CKeyID &address, CKey &keyOut) const override
Definition: keystore.cpp:53
bool RemoveWatchOnly(const CScript &dest) override
Definition: keystore.cpp:128
Definition: hdchain.h:28
A reference to a CScript: the Hash160 of its serialization (see script.h)
Definition: standard.h:22
bool GetOp(iterator &pc, opcodetype &opcodeRet, std::vector< unsigned char > &vchRet)
Definition: script.h:496
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
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