Bitcoin ABC 0.30.5
P2P Digital Currency
|
#include <blockfileinfo.h>
Public Member Functions | |
SERIALIZE_METHODS (CBlockFileInfo, obj) | |
void | SetNull () |
CBlockFileInfo () | |
std::string | ToString () const |
void | AddBlock (unsigned int nHeightIn, uint64_t nTimeIn) |
update statistics (does not update nSize) More... | |
Public Attributes | |
unsigned int | nBlocks |
number of blocks stored in file More... | |
unsigned int | nSize |
number of used bytes of block file More... | |
unsigned int | nUndoSize |
number of used bytes in the undo file More... | |
unsigned int | nHeightFirst |
lowest height of block in file More... | |
unsigned int | nHeightLast |
highest height of block in file More... | |
uint64_t | nTimeFirst |
earliest time of block in file More... | |
uint64_t | nTimeLast |
latest time of block in file More... | |
Definition at line 13 of file blockfileinfo.h.
|
inline |
|
inline |
update statistics (does not update nSize)
Definition at line 55 of file blockfileinfo.h.
|
inline |
Definition at line 30 of file blockfileinfo.h.
|
inline |
std::string CBlockFileInfo::ToString | ( | ) | const |
unsigned int CBlockFileInfo::nBlocks |
number of blocks stored in file
Definition at line 16 of file blockfileinfo.h.
unsigned int CBlockFileInfo::nHeightFirst |
lowest height of block in file
Definition at line 22 of file blockfileinfo.h.
unsigned int CBlockFileInfo::nHeightLast |
highest height of block in file
Definition at line 24 of file blockfileinfo.h.
unsigned int CBlockFileInfo::nSize |
number of used bytes of block file
Definition at line 18 of file blockfileinfo.h.
uint64_t CBlockFileInfo::nTimeFirst |
earliest time of block in file
Definition at line 26 of file blockfileinfo.h.
uint64_t CBlockFileInfo::nTimeLast |
latest time of block in file
Definition at line 28 of file blockfileinfo.h.
unsigned int CBlockFileInfo::nUndoSize |
number of used bytes in the undo file
Definition at line 20 of file blockfileinfo.h.