Bitcoin
load.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2019 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 CScheduler;
13 
14 namespace interfaces {
15 class Chain;
16 } // namespace interfaces
17 
21 bool VerifyWallets(interfaces::Chain& chain, const std::vector<std::string>& wallet_files);
22 
24 bool LoadWallets(interfaces::Chain& chain, const std::vector<std::string>& wallet_files);
25 
28 
30 void FlushWallets();
31 
33 void StopWallets();
34 
36 void UnloadWallets();
37 
38 #endif // BITCOIN_WALLET_LOAD_H
void UnloadWallets()
Close all wallets.
Definition: load.cpp:103
Definition: chain.h:58
Definition: scheduler.h:37
void FlushWallets()
Flush all wallets in preparation for shutdown.
Definition: load.cpp:89
static CScheduler scheduler
Definition: init.cpp:178
bool VerifyWallets(interfaces::Chain &chain, const std::vector< std::string > &wallet_files)
Definition: load.cpp:13
void StopWallets()
Stop all wallets. Wallets will be flushed first.
Definition: load.cpp:96
Definition: dummywallet.cpp:11
void StartWallets(CScheduler &scheduler)
Complete startup of wallets.
Definition: load.cpp:78
bool LoadWallets(interfaces::Chain &chain, const std::vector< std::string > &wallet_files)
Load wallet databases.
Definition: load.cpp:65