[#CalculateClaimedHeadersWork]
= CalculateClaimedHeadersWork
:mrdocs:

Return the sum of the claimed work on a given set of headers&period; No verification of PoW is done&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:arith_uint256.adoc[arith&lowbar;uint256]
CalculateClaimedHeadersWork(std::span&lt;CBlockHeader const&gt; headers);
----

== Return Value

The total claimed work across the headers&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *headers*
| The headers whose claimed work is summed&period;
|===


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