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

Synopsis

Declared in <kernel/bitcoinkernel.h>

[[__nonnull__]]
void
btck_context_options_set_validation_interface(
    btck_ContextOptions* context_options,
    btck_ValidationInterfaceCallbacks validation_interface_callbacks);

Parameters

Name

Description

context_options [in]

Non‐null, previously created with btck_context_options_create.

validation_interface_callbacks [in]

The callbacks used for passing validation information to the user.

Created with MrDocs