Handle the best header advancing during headers synchronization.
Synopsis
Declared in <node/kernel_notifications.h>
virtual
void
headerTip(
SynchronizationState state,
int64_t height,
int64_t timestamp,
bool presync) override;
Parameters
Name |
Description |
state |
The current synchronization state. |
height |
Height of the new best header. |
timestamp |
Block time of the new best header. |
presync |
Whether this update comes from the pre‐synchronization phase. |
Created with MrDocs