Bitcoin
|
#include <wallet/load.h>
#include <interfaces/chain.h>
#include <scheduler.h>
#include <util/system.h>
#include <wallet/wallet.h>
Functions | |
bool | VerifyWallets (interfaces::Chain &chain, const std::vector< std::string > &wallet_files) |
bool | LoadWallets (interfaces::Chain &chain, const std::vector< std::string > &wallet_files) |
Load wallet databases. More... | |
void | StartWallets (CScheduler &scheduler) |
Complete startup of wallets. More... | |
void | FlushWallets () |
Flush all wallets in preparation for shutdown. More... | |
void | StopWallets () |
Stop all wallets. Wallets will be flushed first. More... | |
void | UnloadWallets () |
Close all wallets. More... | |
void FlushWallets | ( | ) |
Flush all wallets in preparation for shutdown.
bool LoadWallets | ( | interfaces::Chain & | chain, |
const std::vector< std::string > & | wallet_files | ||
) |
Load wallet databases.
void StartWallets | ( | CScheduler & | scheduler | ) |
Complete startup of wallets.
void StopWallets | ( | ) |
Stop all wallets. Wallets will be flushed first.
void UnloadWallets | ( | ) |
Close all wallets.
bool VerifyWallets | ( | interfaces::Chain & | chain, |
const std::vector< std::string > & | wallet_files | ||
) |
Responsible for reading and validating the -wallet arguments and verifying the wallet database. This function will perform salvage on the wallet if requested, as long as only one wallet is being loaded (WalletParameterInteraction forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).