[#DeploymentActiveAt-01d] = DeploymentActiveAt :mrdocs: Determine if a version‐bits deployment is active for this block. == Synopsis Declared in `<deploymentstatus.h>` [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/DeploymentPos.adoc[Consensus::DeploymentPos] dep, xref:VersionBitsCache.adoc[VersionBitsCache]& versionbitscache); ---- == Return Value true if the deployment is active at index. == Parameters [cols="1,4"] |=== | Name| Description | *index* | The block being evaluated. | *params* | The consensus parameters holding the deployment schedule. | *dep* | The version‐bits deployment position to test. | *versionbitscache* | Cache used to evaluate version‐bits activation state. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#