Handle a new chain tip being connected.
Declared in <node/kernel_notifications.h>
[[nodiscard, requires_capability(0x7f2e33c63488)]]
virtual
kernel::InterruptResult
blockTip(
SynchronizationState state,
CBlockIndex const& index,
double verification_progress) override;
An interrupt result; Interrupted when the configured stop height is reached.
The return value should not be discarded.
| Name | Description |
|---|---|
| state | The current synchronization state. |
| index | The block index of the new tip. |
| verification_progress | Estimated fraction of chain verification completed. |