ChainstateManager::ReportHeadersPresync

This is used by net_processing to report pre-synchronization progress of headers, as headers are not yet fed to validation during that time, but validation is (for now) responsible for logging and signalling through NotifyHeaderTip, so it needs this information.

Synopsis

Declared in <validation.h>

void
ReportHeadersPresync(
    int64_t height,
    int64_t timestamp);

Parameters

NameDescription
heightHeight reported by the presync headers.
timestampTimestamp of the presync headers.