[#DeploymentEnabled-0c]
= DeploymentEnabled
:mrdocs:

`DeploymentEnabled` overloads

== Synopses

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

Determine if a deployment is enabled (can ever be active)


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:DeploymentEnabled-0d.adoc[DeploymentEnabled](
    xref:Consensus/Params.adoc[Consensus::Params] const& params,
    xref:Consensus/BuriedDeployment.adoc[Consensus::BuriedDeployment] dep);
----

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

Determine if a version&hyphen;bits deployment is enabled (can ever be active)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:DeploymentEnabled-06.adoc[DeploymentEnabled](
    xref:Consensus/Params.adoc[Consensus::Params] const& params,
    xref:Consensus/DeploymentPos.adoc[Consensus::DeploymentPos] dep);
----

[.small]#xref:DeploymentEnabled-06.adoc[_» more&period;&period;&period;_]#

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


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

[.small]#xref:DeploymentEnabled-04.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if the deployment can ever become active&period;
* true if the deployment is enabled&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *params*
| The consensus parameters holding the deployment schedule&period;
| *dep*
| The buried deployment to test&period;
| *chainman*
| The chainstate manager providing consensus parameters&period;
|===


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