Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CSpentIndexValue Struct Reference

#include <spentindex.h>

+ Collaboration diagram for CSpentIndexValue:

Public Member Functions

template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action)
 
 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 42 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 62 of file spentindex.h.

References addressHash, addressType, blockHeight, inputIndex, satoshis, and txid.

◆ CSpentIndexValue() [2/2]

CSpentIndexValue::CSpentIndexValue ( )
inline

Definition at line 71 of file spentindex.h.

References SetNull().

Member Function Documentation

◆ IsNull()

bool CSpentIndexValue::IsNull ( ) const
inline

Definition at line 84 of file spentindex.h.

References base_blob< BITS >::IsNull(), and txid.

◆ SerializationOp()

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

Definition at line 53 of file spentindex.h.

References addressHash, addressType, blockHeight, inputIndex, READWRITE, satoshis, and txid.

◆ SetNull()

void CSpentIndexValue::SetNull ( )
inline

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CSpentIndexValue::ADD_SERIALIZE_METHODS

Definition at line 50 of file spentindex.h.

◆ addressHash

uint160 CSpentIndexValue::addressHash

Definition at line 48 of file spentindex.h.

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

◆ addressType

int CSpentIndexValue::addressType

Definition at line 47 of file spentindex.h.

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

◆ blockHeight

int CSpentIndexValue::blockHeight

Definition at line 45 of file spentindex.h.

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

◆ inputIndex

unsigned int CSpentIndexValue::inputIndex

Definition at line 44 of file spentindex.h.

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

◆ satoshis

CAmount CSpentIndexValue::satoshis

Definition at line 46 of file spentindex.h.

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

◆ txid

uint256 CSpentIndexValue::txid

Definition at line 43 of file spentindex.h.

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


The documentation for this struct was generated from the following file:
Released under the MIT license