[#GetBlockProof-0f]
= GetBlockProof
:mrdocs:

Compute how much work a block index entry corresponds to&period;

== Synopsis

Declared in `&lt;chain&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:arith_uint256.adoc[arith&lowbar;uint256]
GetBlockProof(xref:CBlockIndex.adoc[CBlockIndex] const& block);
----

== Return Value

The expected number of hashes required to satisfy the block&apos;s target&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The block index entry&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
