[#btck_context_options_set_validation_interface]
= btck&lowbar;context&lowbar;options&lowbar;set&lowbar;validation&lowbar;interface
:mrdocs:

Set the validation interface callbacks for the context options&period; The context created with the options will be configured for these validation interface callbacks&period; The callbacks will then be triggered from validation events issued by the chainstate manager created from the same context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;&lowbar;&lowbar;nonnull&lowbar;&lowbar;&rsqb;&rsqb;
void
btck&lowbar;context&lowbar;options&lowbar;set&lowbar;validation&lowbar;interface(
    xref:btck_ContextOptions-0d.adoc[btck&lowbar;ContextOptions]* context&lowbar;options,
    btck&lowbar;ValidationInterfaceCallbacks validation&lowbar;interface&lowbar;callbacks);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *context&lowbar;options* [in]
| Non&hyphen;null, previously created with btck&lowbar;context&lowbar;options&lowbar;create&period;
| *validation&lowbar;interface&lowbar;callbacks* [in]
| The callbacks used for passing validation information to the user&period;
|===


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