Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/load.h
Show All 13 Lines | |||||
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 | // This function will perform salvage on the wallet if requested, as long as | ||||
// only one wallet is being loaded (WalletParameterInteraction forbids | // only one wallet is being loaded (WalletInit::ParameterInteraction() forbids | ||||
// -salvagewallet, -zapwallettxes or -upgradewallet with multiwallet). | // -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); | ||||
Show All 13 Lines |