![]() |
PRCYCoin
2.0.0.7rc1
P2P Digital Currency
|
Basic key store, that keeps keys in an address->secret map. More...
#include <keystore.h>
Public Member Functions | |
| bool | AddKeyPubKey (const CKey &key, const CPubKey &pubkey) |
| Add a key to the store. More... | |
| bool | HaveKey (const CKeyID &address) const |
| Check whether a key corresponding to a given address is present in the store. More... | |
| void | GetKeys (std::set< CKeyID > &setAddress) const |
| bool | GetKey (const CKeyID &address, CKey &keyOut) const |
| virtual bool | AddCScript (const CScript &redeemScript) |
| Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki. More... | |
| virtual bool | HaveCScript (const CScriptID &hash) const |
| virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const |
| virtual bool | AddWatchOnly (const CScript &dest) |
| Support for Watch-only addresses. More... | |
| virtual bool | RemoveWatchOnly (const CScript &dest) |
| virtual bool | HaveWatchOnly (const CScript &dest) const |
| virtual bool | HaveWatchOnly () const |
Public Member Functions inherited from CKeyStore | |
| virtual | ~CKeyStore () |
| virtual bool | AddKey (const CKey &key) |
| virtual bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const |
Protected Attributes | |
| KeyMap | mapKeys |
| ScriptMap | mapScripts |
| WatchOnlySet | setWatchOnly |
| MultiSigScriptSet | setMultiSig |
| CHDChain | hdChain |
Protected Attributes inherited from CKeyStore | |
| RecursiveMutex | cs_KeyStore |
Basic key store, that keeps keys in an address->secret map.
Definition at line 57 of file keystore.h.
|
virtual |
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 34 of file keystore.cpp.
Add a key to the store.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 27 of file keystore.cpp.
|
virtual |
Support for Watch-only addresses.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 61 of file keystore.cpp.
Implements CKeyStore.
Definition at line 50 of file keystore.cpp.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 89 of file keystore.h.
|
inlinevirtual |
Implements CKeyStore.
Definition at line 77 of file keystore.h.
|
virtual |
Implements CKeyStore.
Definition at line 44 of file keystore.cpp.
|
inlinevirtual |
Check whether a key corresponding to a given address is present in the store.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 68 of file keystore.h.
|
virtual |
Implements CKeyStore.
Definition at line 81 of file keystore.cpp.
|
virtual |
Implements CKeyStore.
Definition at line 75 of file keystore.cpp.
|
virtual |
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 68 of file keystore.cpp.
|
protected |
Definition at line 64 of file keystore.h.
|
protected |
Definition at line 60 of file keystore.h.
|
protected |
Definition at line 61 of file keystore.h.
|
protected |
Definition at line 63 of file keystore.h.
|
protected |
Definition at line 62 of file keystore.h.
1.8.17