Bitcoin Core 32.99.0
P2P Digital Currency
Public Types | Public Attributes | List of all members
wallet::ScanResult Struct Reference

Result of a wallet scan. More...

#include <scan.h>

Collaboration diagram for wallet::ScanResult:
[legend]

Public Types

enum  { SUCCESS , FAILURE , USER_ABORT }
 

Public Attributes

enum wallet::ScanResult:: { ... }  status = SUCCESS
 
uint256 last_scanned_block
 Hash and height of most recent block that was successfully scanned. More...
 
std::optional< int > last_scanned_height
 
uint256 last_failed_block
 Height of the most recent block that could not be scanned due to read errors or pruning. More...
 

Detailed Description

Result of a wallet scan.

Definition at line 19 of file scan.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SUCCESS 
FAILURE 
USER_ABORT 

Definition at line 20 of file scan.h.

Member Data Documentation

◆ last_failed_block

uint256 wallet::ScanResult::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.

Definition at line 32 of file scan.h.

◆ last_scanned_block

uint256 wallet::ScanResult::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.

Definition at line 25 of file scan.h.

◆ last_scanned_height

std::optional<int> wallet::ScanResult::last_scanned_height

Definition at line 26 of file scan.h.

◆ 

enum { ... } wallet::ScanResult::status

The documentation for this struct was generated from the following file: