Bitcoin Core  0.19.99
P2P Digital Currency
Namespaces | Functions
load.h File Reference
#include <string>
#include <vector>
Include dependency graph for load.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 interfaces
 

Functions

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. More...
 
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...
 

Function Documentation

◆ FlushWallets()

void FlushWallets ( )

Flush all wallets in preparation for shutdown.

Definition at line 95 of file load.cpp.

Here is the call graph for this function:

◆ LoadWallets()

bool LoadWallets ( interfaces::Chain chain,
const std::vector< std::string > &  wallet_files 
)

Load wallet databases.

Definition at line 67 of file load.cpp.

Here is the call graph for this function:

◆ StartWallets()

void StartWallets ( CScheduler scheduler)

Complete startup of wallets.

Definition at line 84 of file load.cpp.

Here is the call graph for this function:

◆ StopWallets()

void StopWallets ( )

Stop all wallets. Wallets will be flushed first.

Definition at line 102 of file load.cpp.

Here is the call graph for this function:

◆ UnloadWallets()

void UnloadWallets ( )

Close all wallets.

Definition at line 109 of file load.cpp.

Here is the call graph for this function:

◆ VerifyWallets()

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 (WalletInit::ParameterInteraction() forbids -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet).

Definition at line 15 of file load.cpp.

Here is the call graph for this function: