Dash Core  0.12.2.1
P2P Digital Currency
CTimestampIndexKey Struct Reference

#include <validation.h>

Public Member Functions

size_t GetSerializeSize (int nType, int nVersion) const
 
template<typename Stream >
void Serialize (Stream &s, int nType, int nVersion) const
 
template<typename Stream >
void Unserialize (Stream &s, int nType, int nVersion)
 
 CTimestampIndexKey (unsigned int time, uint256 hash)
 
 CTimestampIndexKey ()
 
void SetNull ()
 

Public Attributes

unsigned int timestamp
 
uint256 blockHash
 

Detailed Description

Definition at line 341 of file validation.h.

Constructor & Destructor Documentation

◆ CTimestampIndexKey() [1/2]

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

Definition at line 359 of file validation.h.

◆ CTimestampIndexKey() [2/2]

CTimestampIndexKey::CTimestampIndexKey ( )
inline

Definition at line 364 of file validation.h.

Member Function Documentation

◆ GetSerializeSize()

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

Definition at line 345 of file validation.h.

◆ Serialize()

template<typename Stream >
void CTimestampIndexKey::Serialize ( Stream &  s,
int  nType,
int  nVersion 
) const
inline

Definition at line 349 of file validation.h.

◆ SetNull()

void CTimestampIndexKey::SetNull ( )
inline

Definition at line 368 of file validation.h.

Referenced by CTimestampIndexKey().

◆ Unserialize()

template<typename Stream >
void CTimestampIndexKey::Unserialize ( Stream &  s,
int  nType,
int  nVersion 
)
inline

Definition at line 354 of file validation.h.

Member Data Documentation

◆ blockHash

uint256 CTimestampIndexKey::blockHash

Definition at line 343 of file validation.h.

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

◆ timestamp

unsigned int CTimestampIndexKey::timestamp

Definition at line 342 of file validation.h.

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


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