[#DeploymentEnabled-04]
= DeploymentEnabled
:mrdocs:

Whether a deployment is enabled in the consensus rules, resolved via ChainstateManager&period;

== Synopsis

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

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

== Return Value

true if the deployment is enabled&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *chainman*
| The chainstate manager providing consensus parameters&period;
| *dep*
| The deployment to query&period;
|===


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