Notifies that the active chain tip has advanced to a new block.
Declared in <kernel/notifications_interface.h>
[[nodiscard]]
virtual
InterruptResult
blockTip(
SynchronizationState state,
CBlockIndex const& index,
double verification_progress);
An interrupt result requesting that the operation stop, or empty to continue.
The return value should not be discarded.
| Name | Description |
|---|---|
| state | Current synchronization state of the node. |
| index | Block index of the new chain tip. |
| verification_progress | Estimated verification progress, from 0 to 1. |