Notifies that a new block header has been received during header sync.
Synopsis
Declared in <kernel/notifications_interface.h>
virtual
void
headerTip(
SynchronizationState state,
int64_t height,
int64_t timestamp,
bool presync);
Parameters
Name |
Description |
state |
Current synchronization state of the node. |
height |
Height of the new header tip. |
timestamp |
Block time of the new header tip. |
presync |
Whether the header was seen during the presynchronization phase. |
Created with MrDocs