![]() |
Master Core
v0.0.9 - 2abfd2849db8ba7a83957c64eb976b406713c123
|
A virtual base class for key stores. More...
#include <keystore.h>
Inheritance diagram for CKeyStore:
Collaboration diagram for CKeyStore: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().
Here is the call graph for this function:
Here is the caller graph for this function:Implemented in CWallet, CCryptoKeyStore, and CBasicKeyStore.
Referenced by AddKey().
Here is the caller graph for this function:
|
pure virtual |
Implemented in CBasicKeyStore.
Referenced by IsMine(), CAffectedKeysVisitor::operator()(), and Solver().
Here is the caller graph for this function:Implemented in CCryptoKeyStore, and CBasicKeyStore.
Referenced by GetPubKey(), and Sign1().
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
pure virtual |
Implemented in CBasicKeyStore.
Referenced by CKeyStoreIsMineVisitor::operator()().
Here is the caller graph for this function:
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
Referenced by HaveKeys(), IsMine(), CKeyStoreIsMineVisitor::operator()(), and CAffectedKeysVisitor::operator()().
Here is the caller graph for this function:
|
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().
1.8.8