[#GetDifficulty] = GetDifficulty :mrdocs: Get the difficulty of the net wrt to the given block index. == Synopsis Declared in `<rpc/blockchain.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- double GetDifficulty(xref:CBlockIndex.adoc[CBlockIndex] const& blockindex); ---- == Return Value A floating point number that is a multiple of the main net minimum difficulty (4295032833 hashes). == Parameters [cols="1,4"] |=== | Name| Description | *blockindex* | The block index to measure difficulty at. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#