[#CZMQNotificationInterface-UpdatedBlockTip]
= xref:CZMQNotificationInterface.adoc[CZMQNotificationInterface]::UpdatedBlockTip
:relfileprefix: ../
:mrdocs:

Handle the active chain tip being updated&period;

== Synopsis

Declared in `&lt;zmq&sol;zmqnotificationinterface&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
UpdatedBlockTip(
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexNew,
    xref:CBlockIndex.adoc[CBlockIndex] const* pindexFork,
    bool fInitialDownload) override;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *pindexNew*
| The block index of the new tip&period;
| *pindexFork*
| The block index of the last common ancestor with the previous tip&period;
| *fInitialDownload*
| Whether the node is still in initial block download&period;
|===


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