kernel::Notifications::headerTip

Notifies that a new block header has been received during header sync.

Synopsis

Declared in <kernel/notifications_interface.h>

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

Parameters

NameDescription
stateCurrent synchronization state of the node.
heightHeight of the new header tip.
timestampBlock time of the new header tip.
presyncWhether the header was seen during the presynchronization phase.