[#CValidationInterface-BlockChecked]
= xref:CValidationInterface.adoc[CValidationInterface]::BlockChecked
:relfileprefix: ../
:mrdocs:

Notifies listeners of a block validation result&period; If the provided BlockValidationState IsValid, the provided block is guaranteed to be the current best block at the time the callback was generated (not necessarily now)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
BlockChecked(
    std::shared&lowbar;ptr&lt;CBlock const&gt; const& block,
    xref:BlockValidationState.adoc[BlockValidationState] const& state);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The block that was validated&period;
| *state*
| The result of validating the block&period;
|===


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