[#DeploymentActiveAfter-0e]
= DeploymentActiveAfter
:mrdocs:

`DeploymentActiveAfter` overloads

== Synopses

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

Whether a deployment is active after the given block, resolved via ChainstateManager&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename DEP&gt;
bool
xref:DeploymentActiveAfter-0d.adoc[DeploymentActiveAfter](
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev,
    xref:ChainstateManager.adoc[ChainstateManager] const& chainman,
    DEP dep);
----

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

Determine if a deployment is active for the next block


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:DeploymentActiveAfter-07.adoc[DeploymentActiveAfter](
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev,
    xref:Consensus/Params.adoc[Consensus::Params] const& params,
    xref:Consensus/BuriedDeployment.adoc[Consensus::BuriedDeployment] dep,
    xref:VersionBitsCache.adoc[VersionBitsCache]& versionbitscache);
----

[.small]#xref:DeploymentActiveAfter-07.adoc[_» more&period;&period;&period;_]#

Determine if a version&hyphen;bits deployment is active for the next block&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:DeploymentActiveAfter-0b.adoc[DeploymentActiveAfter](
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexPrev,
    xref:Consensus/Params.adoc[Consensus::Params] const& params,
    xref:Consensus/DeploymentPos.adoc[Consensus::DeploymentPos] dep,
    xref:VersionBitsCache.adoc[VersionBitsCache]& versionbitscache);
----

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

== Return Value

* true if the deployment is active after the given block&period;
* true if the deployment is active for the block after pindexPrev&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindexPrev*
| Block index entry of the block the deployment status is queried after&period;
| *chainman*
| The chainstate manager providing consensus parameters and cache&period;
| *dep*
| The deployment to query&period;
| *params*
| The consensus parameters holding the deployment schedule&period;
| *versionbitscache*
| Unused for buried deployments&semi; present for overload symmetry&period;
|===


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