btck::KernelNotifications::BlockTipHandler

Called when the active chain tip advances.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

virtual
void
BlockTipHandler(
    SynchronizationState state,
    BlockTreeEntry entry,
    double verification_progress);

Parameters

NameDescription
stateThe current synchronization state.
entryThe new tip's block tree entry.
verification_progressFraction of verification completed, from 0 to 1.