![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <validation.h>
Public Member Functions | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | SetNull () |
CBlockFileInfo () | |
std::string | ToString () const |
void | AddBlock (unsigned int nHeightIn, uint64_t nTimeIn) |
Public Attributes | |
unsigned int | nBlocks |
unsigned int | nSize |
number of blocks stored in file More... | |
unsigned int | nUndoSize |
number of used bytes of block file More... | |
unsigned int | nHeightFirst |
number of used bytes in the undo file More... | |
unsigned int | nHeightLast |
lowest height of block in file More... | |
uint64_t | nTimeFirst |
highest height of block in file More... | |
uint64_t | nTimeLast |
earliest time of block in file More... | |
ADD_SERIALIZE_METHODS | |
latest time of block in file More... | |
Definition at line 756 of file validation.h.
|
inline |
Definition at line 790 of file validation.h.
|
inline |
update statistics (does not update nSize)
Definition at line 797 of file validation.h.
|
inline |
Definition at line 770 of file validation.h.
|
inline |
Definition at line 780 of file validation.h.
Referenced by CBlockFileInfo().
std::string CBlockFileInfo::ToString | ( | ) | const |
Definition at line 4371 of file validation.cpp.
CBlockFileInfo::ADD_SERIALIZE_METHODS |
latest time of block in file
Definition at line 767 of file validation.h.
unsigned int CBlockFileInfo::nBlocks |
Definition at line 759 of file validation.h.
Referenced by AddBlock(), SerializationOp(), SetNull(), and ToString().
unsigned int CBlockFileInfo::nHeightFirst |
number of used bytes in the undo file
Definition at line 762 of file validation.h.
Referenced by AddBlock(), SerializationOp(), SetNull(), and ToString().
unsigned int CBlockFileInfo::nHeightLast |
lowest height of block in file
Definition at line 763 of file validation.h.
Referenced by AddBlock(), SerializationOp(), SetNull(), and ToString().
unsigned int CBlockFileInfo::nSize |
number of blocks stored in file
Definition at line 760 of file validation.h.
Referenced by SerializationOp(), SetNull(), and ToString().
uint64_t CBlockFileInfo::nTimeFirst |
highest height of block in file
Definition at line 764 of file validation.h.
Referenced by AddBlock(), SerializationOp(), SetNull(), and ToString().
uint64_t CBlockFileInfo::nTimeLast |
earliest time of block in file
Definition at line 765 of file validation.h.
Referenced by AddBlock(), SerializationOp(), SetNull(), and ToString().
unsigned int CBlockFileInfo::nUndoSize |
number of used bytes of block file
Definition at line 761 of file validation.h.
Referenced by SerializationOp(), and SetNull().