Bitcoin ABC  0.29.2
P2P Digital Currency
Public Types | Public Attributes | List of all members
CWallet::ScanResult Struct Reference

#include <wallet.h>

Collaboration diagram for CWallet::ScanResult:
[legend]

Public Types

enum  { SUCCESS , FAILURE , USER_ABORT }
 

Public Attributes

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

Detailed Description

Definition at line 610 of file wallet.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
SUCCESS 
FAILURE 
USER_ABORT 

Definition at line 611 of file wallet.h.

Member Data Documentation

◆ last_failed_block

BlockHash CWallet::ScanResult::last_failed_block

Hash 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 623 of file wallet.h.

◆ last_scanned_block

BlockHash CWallet::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 616 of file wallet.h.

◆ last_scanned_height

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

Definition at line 617 of file wallet.h.

◆ 

enum { ... } CWallet::ScanResult::status

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