Handle a new chain tip being connected.

Synopsis

Declared in <node/kernel_notifications.h>

[[nodiscard, requires_capability(0x7f2e33c63488)]]
virtual
kernel::InterruptResult
blockTip(
    SynchronizationState state,
    CBlockIndex const& index,
    double verification_progress) override;

Return Value

An interrupt result; Interrupted when the configured stop height is reached.

Note

The return value should not be discarded.

Parameters

Name

Description

state

The current synchronization state.

index

The block index of the new tip.

verification_progress

Estimated fraction of chain verification completed.

Created with MrDocs