[#DeploymentActiveAt-01a] = DeploymentActiveAt :mrdocs: `DeploymentActiveAt` overloads == Synopses Declared in `<deploymentstatus.h>` Whether a deployment is active at the given block, resolved via ChainstateManager. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename DEP> bool xref:DeploymentActiveAt-05.adoc[DeploymentActiveAt]( xref:CBlockIndex.adoc[CBlockIndex] const& index, xref:ChainstateManager.adoc[ChainstateManager] const& chainman, DEP dep); ---- [.small]#xref:DeploymentActiveAt-05.adoc[_» more..._]# Determine if a deployment is active for this block [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:DeploymentActiveAt-0d.adoc[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); ---- [.small]#xref:DeploymentActiveAt-0d.adoc[_» more..._]# Determine if a version‐bits deployment is active for this block. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:DeploymentActiveAt-01d.adoc[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); ---- [.small]#xref:DeploymentActiveAt-01d.adoc[_» more..._]# == Return Value * true if the deployment is active at the given block. * true if the deployment is active at index. == Parameters [cols="1,4"] |=== | Name| Description | *index* | Block index entry at which the deployment status is queried. | *chainman* | The chainstate manager providing consensus parameters and cache. | *dep* | The deployment to query. | *params* | The consensus parameters holding the deployment schedule. | *versionbitscache* | Unused for buried deployments; present for overload symmetry. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#