CBlock::CBlock

Constructs a block from an existing header, with no transactions.

Synopsis

Declared in <primitives/block.h>

CBlock(CBlockHeader const& header);

Parameters

NameDescription
headerThe header to copy into the new block.