[#Chainstate-RollforwardBlock]
= xref:Chainstate.adoc[Chainstate]::RollforwardBlock
:relfileprefix: ../
:mrdocs:

Roll a block&apos;s effects forward onto a coins view during replay&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e1ba85898), requires&lowbar;capability(0x7f2e145654e8), requires&lowbar;capability(0x7f2e373be698), requires&lowbar;capability(0x7f2e36e352e8)&rsqb;&rsqb;
bool
RollforwardBlock(
    xref:CBlockIndex.adoc[CBlockIndex] const* pindex,
    xref:CCoinsViewCache.adoc[CCoinsViewCache]& inputs);
----

== Return Value

true if the block was rolled forward successfully&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindex*
| Block index entry of the block to roll forward&period;
| *inputs*
| The coins view to apply the block&apos;s effects to&period;
|===


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