![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
A virtual base class for key stores. More...
#include <keystore.h>
Public Member Functions | |
virtual | ~CKeyStore () |
virtual bool | AddKeyPubKey (const CKey &key, const CPubKey &pubkey)=0 |
virtual bool | AddKey (const CKey &key) |
virtual bool | HaveKey (const CKeyID &address) const =0 |
virtual bool | GetKey (const CKeyID &address, CKey &keyOut) const =0 |
virtual void | GetKeys (std::set< CKeyID > &setAddress) const =0 |
virtual bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const |
virtual bool | AddCScript (const CScript &redeemScript)=0 |
virtual bool | HaveCScript (const CScriptID &hash) const =0 |
virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const =0 |
Protected Attributes | |
CCriticalSection | cs_KeyStore |
A virtual base class for key stores.
Definition at line 17 of file keystore.h.
|
inlinevirtual |
Definition at line 23 of file keystore.h.
|
pure virtual |
Implemented in CWallet, and CBasicKeyStore.
|
virtual |
Definition at line 23 of file keystore.cpp.
References AddKeyPubKey(), and CKey::GetPubKey().
Referenced by signrawtransaction().
Implemented in CWallet, CCryptoKeyStore, and CBasicKeyStore.
Referenced by AddKey().
|
pure virtual |
Implemented in CBasicKeyStore.
Referenced by IsMine(), CAffectedKeysVisitor::operator()(), and Solver().
Implemented in CCryptoKeyStore, and CBasicKeyStore.
Referenced by GetPubKey(), and Sign1().
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
Reimplemented in CCryptoKeyStore.
Definition at line 14 of file keystore.cpp.
References GetKey(), and CKey::GetPubKey().
Referenced by CCryptoKeyStore::GetPubKey(), and Solver().
|
pure virtual |
Implemented in CBasicKeyStore.
Referenced by CKeyStoreIsMineVisitor::operator()().
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
Referenced by HaveKeys(), IsMine(), CKeyStoreIsMineVisitor::operator()(), and CAffectedKeysVisitor::operator()().
|
mutableprotected |
Definition at line 20 of file keystore.h.
Referenced by CCryptoKeyStore::AddCryptedKey(), CBasicKeyStore::AddCScript(), CBasicKeyStore::AddKeyPubKey(), CCryptoKeyStore::AddKeyPubKey(), CCryptoKeyStore::EncryptKeys(), CBasicKeyStore::GetCScript(), CBasicKeyStore::GetKey(), CCryptoKeyStore::GetKey(), CBasicKeyStore::GetKeys(), CCryptoKeyStore::GetPubKey(), CBasicKeyStore::HaveCScript(), CBasicKeyStore::HaveKey(), CCryptoKeyStore::HaveKey(), CCryptoKeyStore::IsLocked(), CCryptoKeyStore::Lock(), CCryptoKeyStore::SetCrypted(), and CCryptoKeyStore::Unlock().