Bitcoin Core  0.18.99
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
WalletRescanReserver Class Reference

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

#include <wallet.h>

Collaboration diagram for WalletRescanReserver:
[legend]

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

Constructor & Destructor Documentation

◆ WalletRescanReserver()

WalletRescanReserver::WalletRescanReserver ( CWallet w)
inlineexplicit

Definition at line 1418 of file wallet.h.

◆ ~WalletRescanReserver()

WalletRescanReserver::~WalletRescanReserver ( )
inline

Definition at line 1439 of file wallet.h.

Here is the call graph for this function:

Member Function Documentation

◆ isReserved()

bool WalletRescanReserver::isReserved ( ) const
inline

Definition at line 1434 of file wallet.h.

Here is the caller graph for this function:

◆ reserve()

bool WalletRescanReserver::reserve ( )
inline

Definition at line 1420 of file wallet.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_could_reserve

bool WalletRescanReserver::m_could_reserve
private

Definition at line 1416 of file wallet.h.

◆ m_wallet

CWallet* WalletRescanReserver::m_wallet
private

Definition at line 1415 of file wallet.h.


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