node::KernelNotifications::headerTip

Handle the best header advancing during headers synchronization.

Synopsis

Declared in <node/kernel_notifications.h>

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

Parameters

NameDescription
stateThe current synchronization state.
heightHeight of the new best header.
timestampBlock time of the new best header.
presyncWhether this update comes from the pre-synchronization phase.