* Get the target for a given block index.

Synopsis

Declared in <rpc/util.h>

uint256
GetTarget(
    CBlockIndex const& blockindex,
    uint256 pow_limit);

Return Value

the target

Parameters

Name

Description

blockindex [in]

the block

pow_limit [in]

PoW limit (consensus parameter)

Created with MrDocs