Outcome of scanning a range of blocks for wallet transactions.

Synopsis

Declared in <wallet/wallet.h>

struct ScanResult;

Enums

Name

Description

Unnamed enum

Overall status of the scan.

Data Members

Name

Description

last_failed_block

Height of the most recent block that could not be scanned due to read errors or pruning. Will be set if status is FAILURE, unset if status is SUCCESS, and may or may not be set if status is USER_ABORT.

last_scanned_block

Hash and height of most recent block that was successfully scanned. Unset if no blocks were scanned due to read errors or the chain being empty.

last_scanned_height

Height matching last_scanned_block, unset when no block was scanned.

status

Overall status of the scan.

Created with MrDocs