Called when the best header advances.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

virtual
void
HeaderTipHandler(
    SynchronizationState state,
    int64_t height,
    int64_t timestamp,
    bool presync);

Parameters

Name

Description

state

The current synchronization state.

height

The new header height.

timestamp

The new header's timestamp.

presync

True while still presyncing headers.

Created with MrDocs