Bitcoin ABC  0.22.13
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 CChainParams;
14 class CScheduler;
15 
16 namespace interfaces {
17 class Chain;
18 } // namespace interfaces
19 
22 bool VerifyWallets(const CChainParams &chainParams, interfaces::Chain &chain,
23  const std::vector<std::string> &wallet_files);
24 
26 bool LoadWallets(const CChainParams &chainParams, interfaces::Chain &chain,
27  const std::vector<std::string> &wallet_files);
28 
30 void StartWallets(CScheduler &scheduler, const ArgsManager &args);
31 
33 void FlushWallets();
34 
36 void StopWallets();
37 
39 void UnloadWallets();
40 
41 #endif // BITCOIN_WALLET_LOAD_H
void UnloadWallets()
Close all wallets.
Definition: load.cpp:137
void FlushWallets()
Flush all wallets in preparation for shutdown.
Definition: load.cpp:125
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system...
Definition: chainparams.h:47
void StartWallets(CScheduler &scheduler, const ArgsManager &args)
Complete startup of wallets.
Definition: load.cpp:103
void StopWallets()
Stop all wallets. Wallets will be flushed first.
Definition: load.cpp:131
bool VerifyWallets(const CChainParams &chainParams, interfaces::Chain &chain, const std::vector< std::string > &wallet_files)
Responsible for reading and validating the -wallet arguments and verifying the wallet database...
Definition: load.cpp:16
bool LoadWallets(const CChainParams &chainParams, interfaces::Chain &chain, const std::vector< std::string > &wallet_files)
Load wallet databases.
Definition: load.cpp:78
Interface giving clients (wallet processes, maybe other analysis tools in the future) ability to acce...
Definition: chain.h:105