PIVX Core  5.6.99
P2P Digital Currency
Classes | Typedefs | Enumerations | Functions
ismine.h File Reference
#include "destination_io.h"
#include "key.h"
#include "script/standard.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
 Cacheable amount subdivided into watchonly and spendable parts. More...
 

Typedefs

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

Enumerations

enum  isminetype {
  ISMINE_NO = 0 , ISMINE_WATCH_ONLY = 1 << 0 , ISMINE_SPENDABLE = 1 << 1 , ISMINE_COLD = 1 << 2 ,
  ISMINE_SPENDABLE_DELEGATED = 1 << 3 , ISMINE_WATCH_ONLY_SHIELDED = 1 << 4 , ISMINE_SPENDABLE_SHIELDED = 1 << 5 , ISMINE_SPENDABLE_TRANSPARENT = ISMINE_SPENDABLE_DELEGATED | ISMINE_SPENDABLE ,
  ISMINE_SPENDABLE_NO_DELEGATED = ISMINE_SPENDABLE | ISMINE_SPENDABLE_SHIELDED , ISMINE_SPENDABLE_ALL = ISMINE_SPENDABLE_DELEGATED | ISMINE_SPENDABLE | ISMINE_SPENDABLE_SHIELDED , ISMINE_WATCH_ONLY_ALL = ISMINE_WATCH_ONLY | ISMINE_WATCH_ONLY_SHIELDED , ISMINE_ALL = ISMINE_WATCH_ONLY | ISMINE_SPENDABLE | ISMINE_COLD | ISMINE_SPENDABLE_DELEGATED | ISMINE_SPENDABLE_SHIELDED | ISMINE_WATCH_ONLY_SHIELDED ,
  ISMINE_ENUM_ELEMENTS
}
 IsMine() return codes. More...
 

Functions

isminetype IsMine (const CKeyStore &keystore, const CScript &scriptPubKey)
 
isminetype IsMine (const CKeyStore &keystore, const CTxDestination &dest)
 
isminetype IsMine (const CKeyStore &keystore, const libzcash::SaplingPaymentAddress &pa)
 
isminetype IsMine (const CKeyStore &keystore, const CWDestination &dest)
 

Typedef Documentation

◆ isminefilter

typedef uint8_t isminefilter

used for bitflags of isminetype

Definition at line 39 of file ismine.h.

Enumeration Type Documentation

◆ isminetype

enum isminetype

IsMine() return codes.

Enumerator
ISMINE_NO 
ISMINE_WATCH_ONLY 
ISMINE_SPENDABLE 
ISMINE_COLD 

Indicates that we have the staking key of a P2CS.

ISMINE_SPENDABLE_DELEGATED 

Indicates that we have the spending key of a P2CS.

ISMINE_WATCH_ONLY_SHIELDED 

Indicates that we don't have the spending key of a shielded spend/output.

ISMINE_SPENDABLE_SHIELDED 

Indicates that we have the spending key of a shielded spend/output.

ISMINE_SPENDABLE_TRANSPARENT 
ISMINE_SPENDABLE_NO_DELEGATED 
ISMINE_SPENDABLE_ALL 
ISMINE_WATCH_ONLY_ALL 
ISMINE_ALL 
ISMINE_ENUM_ELEMENTS 

Definition at line 19 of file ismine.h.

Function Documentation

◆ IsMine() [1/4]

isminetype IsMine ( const CKeyStore keystore,
const CScript scriptPubKey 
)
Todo:
: Include watch only..

Definition at line 74 of file ismine.cpp.

Here is the call graph for this function:

◆ IsMine() [2/4]

isminetype IsMine ( const CKeyStore keystore,
const CTxDestination dest 
)

Definition at line 29 of file ismine.cpp.

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

◆ IsMine() [3/4]

isminetype IsMine ( const CKeyStore keystore,
const CWDestination dest 
)

Definition at line 69 of file ismine.cpp.

◆ IsMine() [4/4]

isminetype IsMine ( const CKeyStore keystore,
const libzcash::SaplingPaymentAddress pa 
)

Definition at line 35 of file ismine.cpp.

Here is the call graph for this function: