wallet::CWallet::ScanForWalletTransactions

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

NameDescription
start_blockHash of the first block to scan.
start_heightHeight of the first block to scan.
max_heightOptional last height to scan, or nullopt for the tip.
reserverThe reservation guarding this rescan.
save_progressWhether to persist scan progress to disk.