[#kernel-Notifications-blockTip]
= xref:kernel.adoc[kernel]::xref:kernel/Notifications.adoc[Notifications]::blockTip
:relfileprefix: ../../
:mrdocs:

Notifies that the active chain tip has advanced to a new block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;nodiscard&rsqb;&rsqb;
virtual
xref:kernel/InterruptResult.adoc[InterruptResult]
blockTip(
    xref:SynchronizationState.adoc[SynchronizationState] state,
    xref:CBlockIndex.adoc[CBlockIndex] const& index,
    double verification&lowbar;progress);
----

== Return Value

An interrupt result requesting that the operation stop, or empty to continue&period;

[NOTE]
====
The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^].
====
== Parameters

[cols="1,4"]
|===
| Name| Description
| *state*
| Current synchronization state of the node&period;
| *index*
| Block index of the new chain tip&period;
| *verification&lowbar;progress*
| Estimated verification progress, from 0 to 1&period;
|===


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