Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 4,693 Lines • ▼ Show 20 Lines | for (auto it = setExternalKeyPool.begin(); | ||||
set_pre_split_keypool.insert(index); | set_pre_split_keypool.insert(index); | ||||
it = setExternalKeyPool.erase(it); | it = setExternalKeyPool.erase(it); | ||||
} | } | ||||
} | } | ||||
std::shared_ptr<CWallet> CWallet::CreateWalletFromFile( | std::shared_ptr<CWallet> CWallet::CreateWalletFromFile( | ||||
const CChainParams &chainParams, interfaces::Chain &chain, | const CChainParams &chainParams, interfaces::Chain &chain, | ||||
const WalletLocation &location, uint64_t wallet_creation_flags) { | const WalletLocation &location, uint64_t wallet_creation_flags) { | ||||
const std::string &walletFile = location.GetName(); | const std::string &walletFile = | ||||
WalletDataFilePath(location.GetPath()).string(); | |||||
// Needed to restore wallet transaction meta data after -zapwallettxes | // Needed to restore wallet transaction meta data after -zapwallettxes | ||||
std::vector<CWalletTx> vWtx; | std::vector<CWalletTx> vWtx; | ||||
if (gArgs.GetBoolArg("-zapwallettxes", false)) { | if (gArgs.GetBoolArg("-zapwallettxes", false)) { | ||||
chain.initMessage( | chain.initMessage( | ||||
_("Zapping all transactions from wallet...").translated); | _("Zapping all transactions from wallet...").translated); | ||||
▲ Show 20 Lines • Show All 745 Lines • Show Last 20 Lines |