Fabcoin Core
0.16.2
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) override |
Add a key to the store. More... | |
bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const override |
bool | HaveKey (const CKeyID &address) const override |
Check whether a key corresponding to a given address is present in the store. More... | |
void | GetKeys (std::set< CKeyID > &setAddress) const override |
bool | GetKey (const CKeyID &address, CKey &keyOut) const override |
virtual bool | AddCScript (const CScript &redeemScript) override |
Support for BIP 0013 : see https://github.com/fabcoin/bips/blob/master/bip-0013.mediawiki. More... | |
virtual bool | HaveCScript (const CScriptID &hash) const override |
virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const override |
virtual bool | AddWatchOnly (const CScript &dest) override |
Support for Watch-only addresses. More... | |
virtual bool | RemoveWatchOnly (const CScript &dest) override |
virtual bool | HaveWatchOnly (const CScript &dest) const override |
virtual bool | HaveWatchOnly () const override |
Public Member Functions inherited from CKeyStore | |
virtual | ~CKeyStore () |
virtual bool | AddKey (const CKey &key) |
Protected Attributes | |
KeyMap | mapKeys |
WatchKeyMap | mapWatchKeys |
ScriptMap | mapScripts |
WatchOnlySet | setWatchOnly |
Protected Attributes inherited from CKeyStore | |
CCriticalSection | cs_KeyStore |
Basic key store, that keeps keys in an address->secret map.
Definition at line 54 of file keystore.h.
|
overridevirtual |
Support for BIP 0013 : see https://github.com/fabcoin/bips/blob/master/bip-0013.mediawiki.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 39 of file keystore.cpp.
Add a key to the store.
Implements CKeyStore.
Reimplemented in CWallet, and CCryptoKeyStore.
Definition at line 32 of file keystore.cpp.
|
overridevirtual |
Support for Watch-only addresses.
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 83 of file keystore.cpp.
|
overridevirtual |
Implements CKeyStore.
Definition at line 55 of file keystore.cpp.
Implements CKeyStore.
Reimplemented in CCryptoKeyStore.
Definition at line 87 of file keystore.h.
|
inlineoverridevirtual |
Implements CKeyStore.
Reimplemented in CCryptoKeyStore.
Definition at line 74 of file keystore.h.
|
overridevirtual |
Implements CKeyStore.
Reimplemented in CCryptoKeyStore.
Definition at line 16 of file keystore.cpp.
|
overridevirtual |
Implements CKeyStore.
Definition at line 49 of file keystore.cpp.
|
inlineoverridevirtual |
Check whether a key corresponding to a given address is present in the store.
Implements CKeyStore.
Reimplemented in CCryptoKeyStore.
Definition at line 65 of file keystore.h.
|
overridevirtual |
Implements CKeyStore.
Definition at line 103 of file keystore.cpp.
|
overridevirtual |
Implements CKeyStore.
Definition at line 109 of file keystore.cpp.
|
overridevirtual |
Implements CKeyStore.
Reimplemented in CWallet.
Definition at line 93 of file keystore.cpp.
|
protected |
Definition at line 57 of file keystore.h.
|
protected |
Definition at line 59 of file keystore.h.
|
protected |
Definition at line 58 of file keystore.h.
|
protected |
Definition at line 60 of file keystore.h.