20 info.file_number = index->nFile;
21 info.data_pos = index->nDataPos;
CBlockIndex * pprev
pointer to the index of the predecessor of this block
Block data sent with blockConnected, blockDisconnected notifications.
static const uint256 ZERO
The block chain is a tree shaped structure starting with the genesis block at the root...
RecursiveMutex cs_main
Mutex to guard access to validation specific variables, such as reading or changing the chainstate...
interfaces::BlockInfo MakeBlockInfo(const CBlockIndex *index, const CBlock *data)
Return data from block index.
int nHeight
height of the entry in the chain. The genesis block has height 0
const uint256 * phashBlock
pointer to the hash of the block, if any. Memory is owned by this CBlockIndex