Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

CTimestampIndexKey Struct Reference

#include <spentindex.h>

+ Collaboration diagram for CTimestampIndexKey:

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)
 
 CTimestampIndexKey (unsigned int time, uint256 hash)
 
 CTimestampIndexKey ()
 
void SetNull ()
 

Public Attributes

unsigned int timestamp
 
uint256 blockHash
 

Detailed Description

Definition at line 133 of file spentindex.h.

Constructor & Destructor Documentation

◆ CTimestampIndexKey() [1/2]

CTimestampIndexKey::CTimestampIndexKey ( unsigned int  time,
uint256  hash 
)
inline

Definition at line 151 of file spentindex.h.

References blockHash, and timestamp.

◆ CTimestampIndexKey() [2/2]

CTimestampIndexKey::CTimestampIndexKey ( )
inline

Definition at line 156 of file spentindex.h.

References SetNull().

Member Function Documentation

◆ GetSerializeSize()

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

Definition at line 137 of file spentindex.h.

◆ Serialize()

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

◆ SetNull()

void CTimestampIndexKey::SetNull ( )
inline

Definition at line 160 of file spentindex.h.

References blockHash, base_blob< BITS >::SetNull(), and timestamp.

Referenced by CTimestampIndexKey().

◆ Unserialize()

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

Member Data Documentation

◆ blockHash

uint256 CTimestampIndexKey::blockHash

Definition at line 135 of file spentindex.h.

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

◆ timestamp

unsigned int CTimestampIndexKey::timestamp

Definition at line 134 of file spentindex.h.

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


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