[#btck-ContextOptions-SetValidationInterface]
= xref:btck.adoc[btck]::xref:btck/ContextOptions.adoc[ContextOptions]::SetValidationInterface
:relfileprefix: ../../
:mrdocs:

Registers a validation event handler for the context&period;

== Synopsis

Declared in `&lt;kernel&sol;bitcoinkernel&lowbar;wrapper&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
void
SetValidationInterface(std::shared&lowbar;ptr&lt;T&gt; validation&lowbar;interface);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *validation&lowbar;interface*
| The validation handler&semi; must derive from ValidationInterface&period;
|===


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