[#node-KernelNotifications-headerTip]
= xref:node.adoc[node]::xref:node/KernelNotifications.adoc[KernelNotifications]::headerTip
:relfileprefix: ../../
:mrdocs:

Handle the best header advancing during headers synchronization&period;

== Synopsis

Declared in `&lt;node&sol;kernel&lowbar;notifications&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
headerTip(
    xref:SynchronizationState.adoc[SynchronizationState] state,
    int64&lowbar;t height,
    int64&lowbar;t timestamp,
    bool presync) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| The current synchronization state&period;
| *height*
| Height of the new best header&period;
| *timestamp*
| Block time of the new best header&period;
| *presync*
| Whether this update comes from the pre&hyphen;synchronization phase&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
