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

Method handleLoadWallet

src/qt/splashscreen.cpp:201–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void SplashScreen::handleLoadWallet()
202{
203#ifdef ENABLE_WALLET
204 if (!WalletModel::isWalletEnabled()) return;
205 m_handler_load_wallet = m_node->walletLoader().handleLoadWallet([this](std::unique_ptr<interfaces::Wallet> wallet) {
206 m_connected_wallet_handlers.emplace_back(wallet->handleShowProgress(std::bind(ShowProgress, this, std::placeholders::_1, std::placeholders::_2, false)));
207 m_connected_wallets.emplace_back(std::move(wallet));
208 });
209#endif
210}
211
212void SplashScreen::unsubscribeFromCoreSignals()
213{

Callers 1

WalletControllerMethod · 0.45

Calls 2

emplace_backMethod · 0.80
handleShowProgressMethod · 0.45

Tested by

no test coverage detected