Bitcoin Core  0.19.99
P2P Digital Currency
Typedefs | Enumerations | Functions
ismine.cpp File Reference
#include <wallet/ismine.h>
#include <key.h>
#include <script/script.h>
#include <script/signingprovider.h>
#include <wallet/wallet.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 CWallet &keystore, const CScript &scriptPubKey)
 
isminetype IsMine (const CWallet &keystore, const CTxDestination &dest)
 

Typedef Documentation

◆ valtype

typedef std::vector<unsigned char> valtype

Definition at line 13 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 35 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 23 of file ismine.cpp.

Function Documentation

◆ IsMine() [1/2]

isminetype IsMine ( const CWallet keystore,
const CScript scriptPubKey 
)

Definition at line 174 of file ismine.cpp.

Here is the caller graph for this function:

◆ IsMine() [2/2]

isminetype IsMine ( const CWallet keystore,
const CTxDestination dest 
)

Definition at line 188 of file ismine.cpp.

Here is the call graph for this function: