Dash Core  0.12.2.1
P2P Digital Currency
CSpentIndexValue Struct Reference

#include <spentindex.h>

Public Member Functions

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
 CSpentIndexValue (uint256 t, unsigned int i, int h, CAmount s, int type, uint160 a)
 
 CSpentIndexValue ()
 
void SetNull ()
 
bool IsNull () const
 

Public Attributes

uint256 txid
 
unsigned int inputIndex
 
int blockHeight
 
CAmount satoshis
 
int addressType
 
uint160 addressHash
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 40 of file spentindex.h.

Constructor & Destructor Documentation

◆ CSpentIndexValue() [1/2]

CSpentIndexValue::CSpentIndexValue ( uint256  t,
unsigned int  i,
int  h,
CAmount  s,
int  type,
uint160  a 
)
inline

Definition at line 60 of file spentindex.h.

◆ CSpentIndexValue() [2/2]

CSpentIndexValue::CSpentIndexValue ( )
inline

Definition at line 69 of file spentindex.h.

Member Function Documentation

◆ IsNull()

bool CSpentIndexValue::IsNull ( ) const
inline

Definition at line 82 of file spentindex.h.

◆ SerializationOp()

template<typename Stream , typename Operation >
void CSpentIndexValue::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 51 of file spentindex.h.

◆ SetNull()

void CSpentIndexValue::SetNull ( )
inline

Definition at line 73 of file spentindex.h.

Referenced by CSpentIndexValue().

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CSpentIndexValue::ADD_SERIALIZE_METHODS

Definition at line 48 of file spentindex.h.

◆ addressHash

uint160 CSpentIndexValue::addressHash

Definition at line 46 of file spentindex.h.

Referenced by CSpentIndexValue(), SerializationOp(), SetNull(), and TxToJSON().

◆ addressType

int CSpentIndexValue::addressType

Definition at line 45 of file spentindex.h.

Referenced by CSpentIndexValue(), SerializationOp(), SetNull(), and TxToJSON().

◆ blockHeight

int CSpentIndexValue::blockHeight

Definition at line 43 of file spentindex.h.

Referenced by CSpentIndexValue(), getspentinfo(), SerializationOp(), SetNull(), and TxToJSON().

◆ inputIndex

unsigned int CSpentIndexValue::inputIndex

Definition at line 42 of file spentindex.h.

Referenced by CSpentIndexValue(), getspentinfo(), SerializationOp(), SetNull(), and TxToJSON().

◆ satoshis

CAmount CSpentIndexValue::satoshis

Definition at line 44 of file spentindex.h.

Referenced by CSpentIndexValue(), SerializationOp(), SetNull(), and TxToJSON().

◆ txid

uint256 CSpentIndexValue::txid

Definition at line 41 of file spentindex.h.

Referenced by CSpentIndexValue(), getspentinfo(), IsNull(), SerializationOp(), SetNull(), and TxToJSON().


The documentation for this struct was generated from the following file: