btck::ContextOptions::SetValidationInterface

Registers a validation event handler for the context.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

template<typename T>
void
SetValidationInterface(std::shared_ptr<T> validation_interface);

Parameters

NameDescription
validation_interfaceThe validation handler; must derive from ValidationInterface.