Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CAddressIndexKey Struct Reference

#include <spentindex.h>

+ Collaboration diagram for CAddressIndexKey:

Public Member Functions

size_t GetSerializeSize (int nType, int nVersion) const
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 
 CAddressIndexKey (unsigned int addressType, uint160 addressHash, int height, int blockindex, uint256 txid, size_t indexValue, bool isSpending)
 
 CAddressIndexKey ()
 
void SetNull ()
 

Public Attributes

unsigned int type
 
uint160 hashBytes
 
int blockHeight
 
unsigned int txindex
 
uint256 txhash
 
size_t index
 
bool spending
 

Detailed Description

Definition at line 244 of file spentindex.h.

Constructor & Destructor Documentation

◆ CAddressIndexKey() [1/2]

CAddressIndexKey::CAddressIndexKey ( unsigned int  addressType,
uint160  addressHash,
int  height,
int  blockindex,
uint256  txid,
size_t  indexValue,
bool  isSpending 
)
inline

Definition at line 280 of file spentindex.h.

References blockHeight, hashBytes, index, spending, txhash, txindex, and type.

◆ CAddressIndexKey() [2/2]

CAddressIndexKey::CAddressIndexKey ( )
inline

Definition at line 291 of file spentindex.h.

References SetNull().

Member Function Documentation

◆ GetSerializeSize()

size_t CAddressIndexKey::GetSerializeSize ( int  nType,
int  nVersion 
) const
inline

Definition at line 253 of file spentindex.h.

◆ Serialize()

template<typename Stream >
void CAddressIndexKey::Serialize ( Stream &  s) const
inline

◆ SetNull()

void CAddressIndexKey::SetNull ( )
inline

Definition at line 295 of file spentindex.h.

References blockHeight, hashBytes, index, base_blob< BITS >::SetNull(), spending, txhash, txindex, and type.

Referenced by CAddressIndexKey().

◆ Unserialize()

template<typename Stream >
void CAddressIndexKey::Unserialize ( Stream &  s)
inline

Member Data Documentation

◆ blockHeight

int CAddressIndexKey::blockHeight

Definition at line 247 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ hashBytes

uint160 CAddressIndexKey::hashBytes

Definition at line 246 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ index

size_t CAddressIndexKey::index

Definition at line 250 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ spending

bool CAddressIndexKey::spending

Definition at line 251 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ txhash

uint256 CAddressIndexKey::txhash

Definition at line 249 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ txindex

unsigned int CAddressIndexKey::txindex

Definition at line 248 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().

◆ type

unsigned int CAddressIndexKey::type

Definition at line 245 of file spentindex.h.

Referenced by CAddressIndexKey(), Serialize(), SetNull(), and Unserialize().


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