BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Functions
keystore.cpp File Reference
#include <keystore.h>
#include <util.h>
Include dependency graph for keystore.cpp:

Go to the source code of this file.

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 199 of file keystore.cpp.

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