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

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

== Synopsis

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

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

== Return Value

true if the deployment can ever become active&period;

== Parameters

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


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