GetBlockProof overloads
Synopses
Declared in <chain.h>
Compute how much work a block header corresponds to.
arith_uint256
GetBlockProof(CBlockHeader const& header);
Compute how much work a block index entry corresponds to.
arith_uint256
GetBlockProof(CBlockIndex const& block);
Return Value
-
The expected number of hashes required to satisfy the header's target.
-
The expected number of hashes required to satisfy the block's target.
Parameters
Name |
Description |
header |
The block header. |
block |
The block index entry. |
Created with MrDocs