CZMQNotificationInterface::UpdatedBlockTip

Handle the active chain tip being updated.

Synopsis

Declared in <zmq/zmqnotificationinterface.h>

virtual
void
UpdatedBlockTip(
    CBlockIndex const* pindexNew,
    CBlockIndex const* pindexFork,
    bool fInitialDownload) override;

Parameters

NameDescription
pindexNewThe block index of the new tip.
pindexForkThe block index of the last common ancestor with the previous tip.
fInitialDownloadWhether the node is still in initial block download.