[#Consensus-Params-DeploymentHeight]
= xref:Consensus.adoc[Consensus]::xref:Consensus/Params.adoc[Params]::DeploymentHeight
:relfileprefix: ../../
:mrdocs:

Returns the activation height of a buried deployment&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
DeploymentHeight(xref:Consensus/BuriedDeployment.adoc[BuriedDeployment] dep) const;
----

== Return Value

The block height at which the deployment activates, or int max if unknown&period;

== Parameters

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


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