BSHA3  0.17.99
P2P Blockchain, based on Bitcoin
Typedefs | Enumerations | Functions
ismine.cpp File Reference
#include <script/ismine.h>
#include <key.h>
#include <keystore.h>
#include <script/script.h>
#include <script/sign.h>
Include dependency graph for ismine.cpp:

Go to the source code of this file.

Typedefs

typedef std::vector< unsigned char > valtype
 

Enumerations

enum  IsMineSigVersion
 This is an enum that tracks the execution context of a script, similar to SigVersion in script/interpreter. More...
 
enum  IsMineResult
 This is an internal representation of isminetype + invalidity. More...
 

Functions

isminetype IsMine (const CKeyStore &keystore, const CScript &scriptPubKey)
 
isminetype IsMine (const CKeyStore &keystore, const CTxDestination &dest)
 

Typedef Documentation

◆ valtype

typedef std::vector<unsigned char> valtype

Definition at line 14 of file ismine.cpp.

Enumeration Type Documentation

◆ IsMineResult

enum IsMineResult
strong

This is an internal representation of isminetype + invalidity.

Its order is significant, as we return the max of all explored possibilities.

Definition at line 36 of file ismine.cpp.

◆ IsMineSigVersion

enum IsMineSigVersion
strong

This is an enum that tracks the execution context of a script, similar to SigVersion in script/interpreter.

It is separate however because we want to distinguish between top-level scriptPubKey execution and P2SH redeemScript execution (a distinction that has no impact on consensus rules).

Definition at line 24 of file ismine.cpp.

Function Documentation

◆ IsMine() [1/2]

isminetype IsMine ( const CKeyStore keystore,
const CScript scriptPubKey 
)

Definition at line 175 of file ismine.cpp.

Here is the caller graph for this function:

◆ IsMine() [2/2]

isminetype IsMine ( const CKeyStore keystore,
const CTxDestination dest 
)

Definition at line 189 of file ismine.cpp.

Here is the call graph for this function: