![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
RAII object to check and reserve a wallet rescan. More...
#include <wallet.h>
Public Member Functions | |
| WalletRescanReserver (CWallet &w) | |
| bool | reserve (bool with_passphrase=false) |
| bool | isReserved () const |
| Clock::time_point | now () const |
| void | setNow (NowFn now) |
| ~WalletRescanReserver () | |
Private Types | |
| using | Clock = std::chrono::steady_clock |
| using | NowFn = std::function<Clock::time_point()> |
Private Attributes | |
| CWallet & | m_wallet |
| bool | m_could_reserve {false} |
| NowFn | m_now |
|
private |
|
private |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |