RAII object to check and reserve a wallet rescan.
More...
#include <wallet.h>
|
using | Clock = std::chrono::steady_clock |
|
using | NowFn = std::function< Clock::time_point()> |
|
RAII object to check and reserve a wallet rescan.
Definition at line 1079 of file wallet.h.
◆ Clock
◆ NowFn
◆ WalletRescanReserver()
wallet::WalletRescanReserver::WalletRescanReserver |
( |
CWallet & |
w | ) |
|
|
inlineexplicit |
◆ ~WalletRescanReserver()
wallet::WalletRescanReserver::~WalletRescanReserver |
( |
| ) |
|
|
inline |
◆ isReserved()
bool wallet::WalletRescanReserver::isReserved |
( |
| ) |
const |
|
inline |
◆ now()
Clock::time_point wallet::WalletRescanReserver::now |
( |
| ) |
const |
|
inline |
◆ reserve()
bool wallet::WalletRescanReserver::reserve |
( |
bool |
with_passphrase = false | ) |
|
|
inline |
◆ setNow()
void wallet::WalletRescanReserver::setNow |
( |
NowFn |
now | ) |
|
|
inline |
◆ m_could_reserve
bool wallet::WalletRescanReserver::m_could_reserve {false} |
|
private |
◆ m_now
NowFn wallet::WalletRescanReserver::m_now |
|
private |
◆ m_wallet
CWallet& wallet::WalletRescanReserver::m_wallet |
|
private |
The documentation for this class was generated from the following file: