pub unsafe extern "C" fn kernel_context_options_set_validation_interface(
context_options: *mut kernel_ContextOptions,
validation_interface_callbacks: kernel_ValidationInterfaceCallbacks,
)
Expand description
@brief 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.
@param[in] context_options Non-null, previously created with kernel_context_options_create. @param[in] validation_interface_callbacks The callbacks used for passing validation information to the user.