btck::KernelNotifications::ProgressHandler

Called to report progress of a long-running operation.

Synopsis

Declared in <kernel/bitcoinkernel_wrapper.h>

virtual
void
ProgressHandler(
    std::string_view title,
    int progress_percent,
    bool resume_possible);

Parameters

NameDescription
titleA human-readable operation title.
progress_percentPercentage complete, from 0 to 100.
resume_possibleTrue if the operation can be resumed after interruption.