CBlockIndex::CBlockIndex

Constructs a block index entry from a block header.

Synopsis

Declared in <chain.h>

explicit
CBlockIndex(CBlockHeader const& block);

Parameters

NameDescription
blockThe header whose version, merkle root, time, bits, and nonce are copied.