Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

WalletRescanReserver Class Reference

RAII object to check and reserve a wallet rescan. More...

#include <wallet.h>

+ Collaboration diagram for WalletRescanReserver:

Public Member Functions

 WalletRescanReserver (CWallet *w)
 
bool reserve ()
 
bool isReserved () const
 
 ~WalletRescanReserver ()
 

Private Attributes

CWalletm_wallet
 
bool m_could_reserve
 

Detailed Description

RAII object to check and reserve a wallet rescan.

Definition at line 1336 of file wallet.h.

Constructor & Destructor Documentation

◆ WalletRescanReserver()

WalletRescanReserver::WalletRescanReserver ( CWallet w)
inlineexplicit

Definition at line 1342 of file wallet.h.

◆ ~WalletRescanReserver()

WalletRescanReserver::~WalletRescanReserver ( )
inline

Definition at line 1361 of file wallet.h.

References CWallet::fScanningWallet, m_could_reserve, m_wallet, and CWallet::mutexScanning.

Member Function Documentation

◆ isReserved()

bool WalletRescanReserver::isReserved ( ) const
inline

Definition at line 1356 of file wallet.h.

References CWallet::fScanningWallet, m_could_reserve, and m_wallet.

Referenced by CWallet::ScanForWalletTransactions().

◆ reserve()

Member Data Documentation

◆ m_could_reserve

bool WalletRescanReserver::m_could_reserve
private

Definition at line 1340 of file wallet.h.

Referenced by isReserved(), reserve(), and ~WalletRescanReserver().

◆ m_wallet

CWallet* WalletRescanReserver::m_wallet
private

Definition at line 1339 of file wallet.h.

Referenced by isReserved(), reserve(), and ~WalletRescanReserver().


The documentation for this class was generated from the following file:
Released under the MIT license