[#wallet-CWallet-ScanResult] = xref:wallet.adoc[wallet]::xref:wallet/CWallet.adoc[CWallet]::ScanResult :relfileprefix: ../../ :mrdocs: Outcome of scanning a range of blocks for wallet transactions. == Synopsis Declared in `<wallet/wallet.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct ScanResult; ---- == Enums [cols="1,4"] |=== | Name| Description | xref:wallet/CWallet/ScanResult/_04enum.adoc[`Unnamed enum`] | Overall status of the scan. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/CWallet/ScanResult/last_failed_block.adoc[`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. | xref:wallet/CWallet/ScanResult/last_scanned_block.adoc[`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. | xref:wallet/CWallet/ScanResult/last_scanned_height.adoc[`last_scanned_height`] | Height matching last_scanned_block, unset when no block was scanned. | xref:wallet/CWallet/ScanResult/status.adoc[`status`] | Overall status of the scan. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#