ValidationSignals::UpdatedBlockTip

Fire the UpdatedBlockTip event to all subscribers.

Synopsis

Declared in <validationinterface.h>

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

Parameters

NameDescription
pindexNewThe new chain tip.
pindexForkThe last common block between the old and new tip, or nullptr.
fInitialDownloadWhether the node is still in initial block download.