5#ifndef BITCOIN_BLOCKFILEINFO_H
6#define BITCOIN_BLOCKFILEINFO_H
55 void AddBlock(
unsigned int nHeightIn, uint64_t nTimeIn) {
uint64_t nTimeFirst
earliest time of block in file
uint64_t nTimeLast
latest time of block in file
std::string ToString() const
void AddBlock(unsigned int nHeightIn, uint64_t nTimeIn)
update statistics (does not update nSize)
unsigned int nHeightFirst
lowest height of block in file
unsigned int nHeightLast
highest height of block in file
unsigned int nUndoSize
number of used bytes in the undo file
unsigned int nBlocks
number of blocks stored in file
SERIALIZE_METHODS(CBlockFileInfo, obj)
unsigned int nSize
number of used bytes of block file