[#CheckProofOfWork] = CheckProofOfWork :mrdocs: Check whether a block hash satisfies the proof‐of‐work requirement specified by nBits == Synopsis Declared in `<pow.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool CheckProofOfWork( xref:uint256.adoc[uint256] hash, unsigned int nBits, xref:Consensus/Params.adoc[Consensus::Params] const& params); ---- == Return Value true if the hash meets the target specified by nBits. == Parameters [cols="1,4"] |=== | Name| Description | *hash* | The block hash to check. | *nBits* | The proof‐of‐work requirement in compact target form. | *params* | The consensus parameters for the active chain. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#