Scan a range of blocks for transactions relevant to this wallet.

Synopsis

Declared in <wallet/wallet.h>

ScanResult
ScanForWalletTransactions(
    uint256 const& start_block,
    int start_height,
    std::optional<int> max_height,
    WalletRescanReserver const& reserver,
    bool save_progress);

Return Value

The result of the scan.

Parameters

Name

Description

start_block

Hash of the first block to scan.

start_height

Height of the first block to scan.

max_height

Optional last height to scan, or nullopt for the tip.

reserver

The reservation guarding this rescan.

save_progress

Whether to persist scan progress to disk.

Created with MrDocs