![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
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 |
| Add a key to the store. More... | |
| virtual bool | AddKey (const CKey &key) |
| virtual bool | HaveKey (const CKeyID &address) const =0 |
| Check whether a key corresponding to a given address is present in the store. More... | |
| virtual bool | GetKey (const CKeyID &address, CKey &keyOut) const =0 |
| virtual std::set< CKeyID > | GetKeys () const =0 |
| virtual bool | GetPubKey (const CKeyID &address, CPubKey &vchPubKeyOut) const =0 |
| virtual bool | AddCScript (const CScript &redeemScript)=0 |
| Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki. More... | |
| virtual bool | HaveCScript (const CScriptID &hash) const =0 |
| virtual bool | GetCScript (const CScriptID &hash, CScript &redeemScriptOut) const =0 |
| virtual bool | AddWatchOnly (const CScript &dest)=0 |
| Support for Watch-only addresses. More... | |
| virtual bool | RemoveWatchOnly (const CScript &dest)=0 |
| virtual bool | HaveWatchOnly (const CScript &dest) const =0 |
| virtual bool | HaveWatchOnly () const =0 |
| virtual bool | AddSaplingSpendingKey (const libzcash::SaplingExtendedSpendingKey &sk)=0 |
| Support for Sapling. More... | |
| virtual bool | HaveSaplingSpendingKey (const libzcash::SaplingExtendedFullViewingKey &extfvk) const =0 |
| virtual bool | GetSaplingSpendingKey (const libzcash::SaplingExtendedFullViewingKey &extfvk, libzcash::SaplingExtendedSpendingKey &skOut) const =0 |
| virtual bool | AddSaplingFullViewingKey (const libzcash::SaplingExtendedFullViewingKey &extfvk)=0 |
| Support for Sapling full viewing keys. More... | |
| virtual bool | HaveSaplingFullViewingKey (const libzcash::SaplingIncomingViewingKey &ivk) const =0 |
| virtual bool | GetSaplingFullViewingKey (const libzcash::SaplingIncomingViewingKey &ivk, libzcash::SaplingExtendedFullViewingKey &extfvkOut) const =0 |
| virtual void | GetSaplingPaymentAddresses (std::set< libzcash::SaplingPaymentAddress > &setAddress) const =0 |
| virtual bool | AddSaplingIncomingViewingKey (const libzcash::SaplingIncomingViewingKey &ivk, const libzcash::SaplingPaymentAddress &addr)=0 |
| Sapling incoming viewing keys. More... | |
| virtual bool | HaveSaplingIncomingViewingKey (const libzcash::SaplingPaymentAddress &addr) const =0 |
| virtual bool | GetSaplingIncomingViewingKey (const libzcash::SaplingPaymentAddress &addr, libzcash::SaplingIncomingViewingKey &ivkOut) const =0 |
Public Attributes | |
| RecursiveMutex | cs_KeyStore |
A virtual base class for key stores.
Definition at line 22 of file keystore.h.
|
inlinevirtual |
Definition at line 28 of file keystore.h.
|
pure virtual |
Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki.
Implemented in CWallet, and CBasicKeyStore.
|
virtual |
Definition at line 14 of file keystore.cpp.
Add a key to the store.
Implemented in CWallet, CCryptoKeyStore, and CBasicKeyStore.
|
pure virtual |
Support for Sapling full viewing keys.
Implemented in CBasicKeyStore.
|
pure virtual |
Sapling incoming viewing keys.
Implemented in CBasicKeyStore.
|
pure virtual |
Support for Sapling.
Implemented in CBasicKeyStore.
|
pure virtual |
Support for Watch-only addresses.
Implemented in CWallet, and CBasicKeyStore.
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in CBasicKeyStore.
|
pure virtual |
Implemented in CCryptoKeyStore, and CBasicKeyStore.
|
pure virtual |
Implemented in CBasicKeyStore.
|
pure virtual |
Check whether a key corresponding to a given address is present in the store.
Implemented in CCryptoKeyStore, and CBasicKeyStore.
|
pure virtual |
Implemented in CBasicKeyStore.
|
pure virtual |
Implemented in CBasicKeyStore.
|
pure virtual |
|
pure virtual |
Implemented in CBasicKeyStore.
|
pure virtual |
|
pure virtual |
Implemented in CWallet, and CBasicKeyStore.
|
mutable |
Definition at line 26 of file keystore.h.