Bitcoin Kernel
C header for interacting with the Bitcoin Kernel library.
Loading...
Searching...
No Matches
Data Fields
btck_ValidationInterfaceCallbacks Struct Reference

#include <bitcoinkernel.h>

Data Fields

void * user_data
 
btck_DestroyCallback user_data_destroy
 Frees the provided user data structure.
 
btck_ValidationInterfaceBlockChecked block_checked
 

Detailed Description

Holds the validation interface callbacks. The user data pointer may be used to point to user-defined structures to make processing the validation callbacks easier. Note that these callbacks block any further validation execution when they are called.

Field Documentation

◆ block_checked

btck_ValidationInterfaceBlockChecked btck_ValidationInterfaceCallbacks::block_checked

Called when a new block has been checked. Contains the result of its validation.

◆ user_data

void* btck_ValidationInterfaceCallbacks::user_data

Holds a user-defined opaque structure that is passed to the validation interface callbacks. If user_data_destroy is also defined ownership of the user_data is passed to the created context options and subsequently context.

◆ user_data_destroy

btck_DestroyCallback btck_ValidationInterfaceCallbacks::user_data_destroy

Frees the provided user data structure.


The documentation for this struct was generated from the following file: