btck::KernelNotifications::HeaderTipHandler

Called when the best header advances.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

virtual
void
HeaderTipHandler(
    SynchronizationState state,
    int64_t height,
    int64_t timestamp,
    bool presync);

Parameters

NameDescription
stateThe current synchronization state.
heightThe new header height.
timestampThe new header's timestamp.
presyncTrue while still presyncing headers.