Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/load.h
Show All 12 Lines | |||||
class CScheduler; | class CScheduler; | ||||
namespace interfaces { | namespace interfaces { | ||||
class Chain; | class Chain; | ||||
} // namespace interfaces | } // namespace interfaces | ||||
//! Responsible for reading and validating the -wallet arguments and verifying | //! Responsible for reading and validating the -wallet arguments and verifying | ||||
//! the wallet database. | //! 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). | |||||
bool VerifyWallets(const CChainParams &chainParams, interfaces::Chain &chain, | bool VerifyWallets(const CChainParams &chainParams, interfaces::Chain &chain, | ||||
const std::vector<std::string> &wallet_files); | const std::vector<std::string> &wallet_files); | ||||
//! Load wallet databases. | //! Load wallet databases. | ||||
bool LoadWallets(const CChainParams &chainParams, interfaces::Chain &chain, | bool LoadWallets(const CChainParams &chainParams, interfaces::Chain &chain, | ||||
const std::vector<std::string> &wallet_files); | const std::vector<std::string> &wallet_files); | ||||
//! Complete startup of wallets. | //! Complete startup of wallets. | ||||
Show All 12 Lines |