![]() |
Bitcoin Core 30.99.0
P2P Digital Currency
|
Holds the validation interface callbacks. More...
#include <bitcoinkernel.h>
Public Attributes | |
| void * | user_data |
| Holds a user-defined opaque structure that is passed to the validation interface callbacks. More... | |
| btck_DestroyCallback | user_data_destroy |
| Frees the provided user data structure. More... | |
| btck_ValidationInterfaceBlockChecked | block_checked |
| Called when a new block has been fully validated. More... | |
| btck_ValidationInterfacePoWValidBlock | pow_valid_block |
| Called when a new block extends the header chain and has a valid transaction and segwit merkle root. More... | |
| btck_ValidationInterfaceBlockConnected | block_connected |
| Called when a block is valid and has now been connected to the best chain. More... | |
| btck_ValidationInterfaceBlockDisconnected | block_disconnected |
| Called during a re-org when a block has been removed from the best chain. More... | |
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.
Definition at line 353 of file bitcoinkernel.h.
| btck_ValidationInterfaceBlockChecked btck_ValidationInterfaceCallbacks::block_checked |
Called when a new block has been fully validated.
Contains the result of its validation.
Definition at line 358 of file bitcoinkernel.h.
| btck_ValidationInterfaceBlockConnected btck_ValidationInterfaceCallbacks::block_connected |
Called when a block is valid and has now been connected to the best chain.
Definition at line 362 of file bitcoinkernel.h.
| btck_ValidationInterfaceBlockDisconnected btck_ValidationInterfaceCallbacks::block_disconnected |
Called during a re-org when a block has been removed from the best chain.
Definition at line 363 of file bitcoinkernel.h.
| btck_ValidationInterfacePoWValidBlock btck_ValidationInterfaceCallbacks::pow_valid_block |
Called when a new block extends the header chain and has a valid transaction and segwit merkle root.
Definition at line 360 of file bitcoinkernel.h.
| 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.
Definition at line 354 of file bitcoinkernel.h.
| btck_DestroyCallback btck_ValidationInterfaceCallbacks::user_data_destroy |
Frees the provided user data structure.
Definition at line 357 of file bitcoinkernel.h.