[#AbstractThresholdConditionChecker-Condition]
= xref:AbstractThresholdConditionChecker.adoc[AbstractThresholdConditionChecker]::Condition
:relfileprefix: ../
:mrdocs:

Returns whether the deployment&apos;s condition is met for a block&period;

== Synopsis

Declared in `&lt;versionbits&lowbar;impl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
bool
Condition(xref:CBlockIndex.adoc[CBlockIndex] const* pindex) const = 0;
----

== Return Value

true if the block satisfies the deployment&apos;s condition&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindex*
| The block to test the condition for&period;
|===


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