MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / subscribeToCoreSignals

Method subscribeToCoreSignals

src/qt/splashscreen.cpp:186–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184#endif
185
186void SplashScreen::subscribeToCoreSignals()
187{
188 // Connect signals to client
189 m_handler_init_message = m_node.handleInitMessage(boost::bind(InitMessage, this, _1));
190 m_handler_show_progress = m_node.handleShowProgress(boost::bind(ShowProgress, this, _1, _2, _3));
191#ifdef ENABLE_WALLET
192 m_handler_load_wallet = m_node.handleLoadWallet([this](std::unique_ptr<interfaces::Wallet> wallet) { ConnectWallet(std::move(wallet)); });
193#endif
194}
195
196void SplashScreen::unsubscribeFromCoreSignals()
197{

Callers

nothing calls this directly

Calls 3

handleInitMessageMethod · 0.80
handleLoadWalletMethod · 0.80
handleShowProgressMethod · 0.45

Tested by

no test coverage detected