Bitcoin ABC  0.24.7
P2P Digital Currency
load.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2018 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_WALLET_LOAD_H
7 #define BITCOIN_WALLET_LOAD_H
8 
9 #include <string>
10 #include <vector>
11 
12 class ArgsManager;
13 class CScheduler;
14 
15 namespace interfaces {
16 class Chain;
17 } // namespace interfaces
18 
21 bool VerifyWallets(interfaces::Chain &chain);
22 
24 bool LoadWallets(interfaces::Chain &chain);
25 
27 void StartWallets(CScheduler &scheduler, const ArgsManager &args);
28 
30 void FlushWallets();
31 
33 void StopWallets();
34 
36 void UnloadWallets();
37 
38 #endif // BITCOIN_WALLET_LOAD_H
interfaces
Definition: dummywallet.cpp:12
CScheduler
Simple class for background tasks that should be run periodically or once "after a while".
Definition: scheduler.h:35
StartWallets
void StartWallets(CScheduler &scheduler, const ArgsManager &args)
Complete startup of wallets.
Definition: load.cpp:128
VerifyWallets
bool VerifyWallets(interfaces::Chain &chain)
Responsible for reading and validating the -wallet arguments and verifying the wallet database.
Definition: load.cpp:19
StopWallets
void StopWallets()
Stop all wallets. Wallets will be flushed first.
Definition: load.cpp:156
interfaces::Chain
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:108
UnloadWallets
void UnloadWallets()
Close all wallets.
Definition: load.cpp:162
FlushWallets
void FlushWallets()
Flush all wallets in preparation for shutdown.
Definition: load.cpp:150
ArgsManager
Definition: system.h:152
LoadWallets
bool LoadWallets(interfaces::Chain &chain)
Load wallet databases.
Definition: load.cpp:95