MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / load

Method load

src/qt/walletcontroller.cpp:376–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376void LoadWalletsActivity::load(bool show_loading_minimized)
377{
378 showProgressDialog(
379 //: Title of progress window which is displayed when wallets are being loaded.
380 tr("Load Wallets"),
381 /*: Descriptive text of the load wallets progress window which indicates to
382 the user that wallets are currently being loaded.*/
383 tr("Loading wallets…"),
384 /*show_minimized=*/show_loading_minimized);
385
386 QTimer::singleShot(0, worker(), [this] {
387 for (auto& wallet : node().walletLoader().getWallets()) {
388 m_wallet_controller->getOrCreateWallet(std::move(wallet));
389 }
390
391 QTimer::singleShot(0, this, [this] { Q_EMIT finished(); });
392 });
393}
394
395RestoreWalletActivity::RestoreWalletActivity(WalletController* wallet_controller, QWidget* parent_widget)
396 : WalletControllerActivity(wallet_controller, parent_widget)

Callers 15

mainFunction · 0.45
runFunction · 0.45
load_test_dataMethod · 0.45
run_testMethod · 0.45
remove_wallet_settingMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
load_capnp_modulesFunction · 0.45

Calls 2

getWalletsMethod · 0.80
getOrCreateWalletMethod · 0.80

Tested by 15

BOOST_AUTO_TEST_CASEFunction · 0.36
~FrozenCleanupCheckMethod · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
FUZZ_TARGETFunction · 0.36
AppendMethod · 0.36
SyncMethod · 0.36
AppendMethod · 0.36
SyncMethod · 0.36
NewWritableFileMethod · 0.36