![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
#include <blockstorage.h>
Public Member Functions | |
| SERIALIZE_METHODS (CBlockFileInfo, obj) | |
| CBlockFileInfo ()=default | |
| std::string | ToString () const |
| void | AddBlock (unsigned int nHeightIn, uint64_t nTimeIn) |
| update statistics (does not update nSize) More... | |
Public Attributes | |
| uint32_t | nBlocks {} |
| number of blocks stored in file More... | |
| uint32_t | nSize {} |
| number of used bytes of block file More... | |
| uint32_t | nUndoSize {} |
| number of used bytes in the undo file More... | |
| uint32_t | nHeightFirst {} |
| lowest height of block in file More... | |
| uint32_t | 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 50 of file blockstorage.h.
|
default |
|
inline |
update statistics (does not update nSize)
Definition at line 77 of file blockstorage.h.
|
inline |
Definition at line 61 of file blockstorage.h.
| std::string kernel::CBlockFileInfo::ToString | ( | ) | const |
| uint32_t kernel::CBlockFileInfo::nBlocks {} |
number of blocks stored in file
Definition at line 53 of file blockstorage.h.
| uint32_t kernel::CBlockFileInfo::nHeightFirst {} |
lowest height of block in file
Definition at line 56 of file blockstorage.h.
| uint32_t kernel::CBlockFileInfo::nHeightLast {} |
highest height of block in file
Definition at line 57 of file blockstorage.h.
| uint32_t kernel::CBlockFileInfo::nSize {} |
number of used bytes of block file
Definition at line 54 of file blockstorage.h.
| uint64_t kernel::CBlockFileInfo::nTimeFirst {} |
earliest time of block in file
Definition at line 58 of file blockstorage.h.
| uint64_t kernel::CBlockFileInfo::nTimeLast {} |
latest time of block in file
Definition at line 59 of file blockstorage.h.
| uint32_t kernel::CBlockFileInfo::nUndoSize {} |
number of used bytes in the undo file
Definition at line 55 of file blockstorage.h.