[#VersionBitsCache-IsActiveAfter]
= xref:VersionBitsCache.adoc[VersionBitsCache]::IsActiveAfter
:relfileprefix: ../
:mrdocs:

Get the BIP9 state for a given deployment for the block after pindexPrev&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e18fdbaf8), requires&lowbar;capability(0x7f2e1a0ccfc8), requires&lowbar;capability(0x7f2e24cb6df8), requires&lowbar;capability(0x7f2e37ab5318), requires&lowbar;capability(0x7f2e27e04d18), requires&lowbar;capability(0x7f2e1eea0cc8), requires&lowbar;capability(0x7f2e283fba88)&rsqb;&rsqb;
bool
IsActiveAfter(
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev,
    xref:Consensus/Params.adoc[Consensus::Params] const& params,
    xref:Consensus/DeploymentPos.adoc[Consensus::DeploymentPos] pos);
----

== Return Value

True if the deployment is active for the block after pindexPrev&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindexPrev*
| The parent block preceding the block being evaluated&period;
| *params*
| The consensus parameters holding the deployments&period;
| *pos*
| The position of the deployment to check&period;
|===


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