MCPcopy Create free account
hub / github.com/ElementsProject/elements / load

Method load

src/qt/walletcontroller.cpp:359–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void LoadWalletsActivity::load()
360{
361 showProgressDialog(
362 //: Title of progress window which is displayed when wallets are being loaded.
363 tr("Load Wallets"),
364 /*: Descriptive text of the load wallets progress window which indicates to
365 the user that wallets are currently being loaded.*/
366 tr("Loading wallets…"));
367
368 QTimer::singleShot(0, worker(), [this] {
369 for (auto& wallet : node().walletLoader().getWallets()) {
370 m_wallet_controller->getOrCreateWallet(std::move(wallet));
371 }
372
373 QTimer::singleShot(0, this, [this] { Q_EMIT finished(); });
374 });
375}

Callers 15

load_test_dataMethod · 0.45
run_testMethod · 0.45
load_test_dataMethod · 0.45
run_testMethod · 0.45
run_testMethod · 0.45
bit_is_setMethod · 0.45
sleep_forMethod · 0.45
NextInvToInboundsMethod · 0.45
TipMayBeStaleMethod · 0.45
GetNodeStateStatsMethod · 0.45

Calls 2

getWalletsMethod · 0.80
getOrCreateWalletMethod · 0.80

Tested by 11

~FrozenCleanupCheckMethod · 0.36
TestingSetupMethod · 0.36
AppendMethod · 0.36
SyncMethod · 0.36
AppendMethod · 0.36
SyncMethod · 0.36
NewWritableFileMethod · 0.36
MTThreadBodyFunction · 0.36
TESTFunction · 0.36
GetMethod · 0.36
ConcurrentReaderFunction · 0.36