[#DeploymentActiveAt-0d]
= DeploymentActiveAt
:mrdocs:

Determine if a deployment is active for this block

== Synopsis

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

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

== Return Value

true if the deployment is active at index&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| The block being evaluated&period;
| *params*
| The consensus parameters holding the deployment schedule&period;
| *dep*
| The buried deployment to test&period;
| *versionbitscache*
| Unused for buried deployments&semi; present for overload symmetry&period;
|===


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