[#Consensus-ValidDeployment-0c]
= xref:Consensus.adoc[Consensus]::ValidDeployment
:relfileprefix: ../
:mrdocs:

`ValidDeployment` overloads

== Synopses

Declared in `&lt;consensus&sol;params&period;h&gt;`

Returns true if the given buried deployment identifier is a valid enumerator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:Consensus/ValidDeployment-04.adoc[ValidDeployment](xref:Consensus/BuriedDeployment.adoc[BuriedDeployment] dep);
----

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

Returns true if the given version&hyphen;bits deployment identifier is a valid enumerator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
xref:Consensus/ValidDeployment-03.adoc[ValidDeployment](xref:Consensus/DeploymentPos.adoc[DeploymentPos] dep);
----

[.small]#xref:Consensus/ValidDeployment-03.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if dep is a recognized BuriedDeployment value&period;
* true if dep is a recognized DeploymentPos value&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *dep*
| The buried deployment to check&period;
|===


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