Get the difficulty of the net wrt to the given block index.

Synopsis

Declared in <rpc/blockchain.h>

double
GetDifficulty(CBlockIndex const& blockindex);

Return Value

A floating point number that is a multiple of the main net minimum difficulty (4295032833 hashes).

Parameters

Name

Description

blockindex

The block index to measure difficulty at.

Created with MrDocs