Bitcoin Core  0.18.99
P2P Digital Currency
Classes | Functions
keystore.h File Reference
#include <key.h>
#include <pubkey.h>
#include <script/script.h>
#include <script/sign.h>
#include <script/standard.h>
#include <sync.h>
#include <boost/signals2/signal.hpp>
Include dependency graph for keystore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CKeyStore
 A virtual base class for key stores. More...
 
class  CBasicKeyStore
 Basic key store, that keeps keys in an address->secret map. More...
 

Functions

CKeyID GetKeyForDestination (const CKeyStore &store, const CTxDestination &dest)
 Return the CKeyID of the key involved in a script (if there is a unique one). More...
 
bool HaveKey (const CKeyStore &store, const CKey &key)
 Checks if a CKey is in the given CKeyStore compressed or otherwise. More...
 

Function Documentation

◆ GetKeyForDestination()

CKeyID GetKeyForDestination ( const CKeyStore store,
const CTxDestination dest 
)

Return the CKeyID of the key involved in a script (if there is a unique one).

Definition at line 177 of file keystore.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HaveKey()

bool HaveKey ( const CKeyStore store,
const CKey key 
)

Checks if a CKey is in the given CKeyStore compressed or otherwise.

Definition at line 200 of file keystore.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: