Bitcoin Core  0.18.99
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions
ismine.h File Reference
#include <script/standard.h>
#include <stdint.h>
#include <bitset>
Include dependency graph for ismine.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CachableAmount
 Cachable amount subdivided into watchonly and spendable parts. More...
 

Typedefs

typedef uint8_t isminefilter
 used for bitflags of isminetype More...
 

Enumerations

enum  isminetype : unsigned int {
  ISMINE_NO = 0, ISMINE_WATCH_ONLY = 1 << 0, ISMINE_SPENDABLE = 1 << 1, ISMINE_USED = 1 << 2,
  ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE, ISMINE_ALL_USED = ISMINE_ALL | ISMINE_USED, ISMINE_ENUM_ELEMENTS
}
 IsMine() return codes. More...
 

Functions

isminetype IsMine (const CWallet &wallet, const CScript &scriptPubKey)
 
isminetype IsMine (const CWallet &wallet, const CTxDestination &dest)
 

Typedef Documentation

◆ isminefilter

typedef uint8_t isminefilter

used for bitflags of isminetype

Definition at line 29 of file ismine.h.

Enumeration Type Documentation

◆ isminetype

enum isminetype : unsigned int

IsMine() return codes.

Enumerator
ISMINE_NO 
ISMINE_WATCH_ONLY 
ISMINE_SPENDABLE 
ISMINE_USED 
ISMINE_ALL 
ISMINE_ALL_USED 
ISMINE_ENUM_ELEMENTS 

Definition at line 18 of file ismine.h.

Function Documentation

◆ IsMine() [1/2]

isminetype IsMine ( const CWallet wallet,
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 CWallet wallet,
const CTxDestination dest 
)

Definition at line 189 of file ismine.cpp.

Here is the call graph for this function: