GetBlockProof

Compute how much work a block header corresponds to.

Synopsis

Declared in <chain.h>

arith_uint256
GetBlockProof(CBlockHeader const& header);

Return Value

The expected number of hashes required to satisfy the header's target.

Parameters

NameDescription
headerThe block header.