Bitcoin Core  0.18.99
P2P Digital Currency
Functions
keystore.cpp File Reference
#include <keystore.h>
#include <util/system.h>
Include dependency graph for keystore.cpp:

Go to the source code of this file.

Functions

static bool ExtractPubKey (const CScript &dest, CPubKey &pubKeyOut)
 
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

◆ ExtractPubKey()

static bool ExtractPubKey ( const CScript dest,
CPubKey pubKeyOut 
)
static

Definition at line 124 of file keystore.cpp.

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

◆ 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: