CBlockIndex::CBlockIndex

Constructors

Synopses

Declared in <chain.h>

Constructs an empty block index entry.

constexpr
CBlockIndex() = default;
» more...

Constructs a block index entry from a block header.

explicit
CBlockIndex(CBlockHeader const& block);
» more...

Parameters

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