[#GetBlockProof-02]
= GetBlockProof
:mrdocs:

`GetBlockProof` overloads

== Synopses

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

Compute how much work a block header corresponds to&period;


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

[.small]#xref:GetBlockProof-03.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:GetBlockProof-0f.adoc[_» more&period;&period;&period;_]#

== Return Value

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

== Parameters

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


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