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

Method subscribeToCoreSignals

src/qt/walletmodel.cpp:425–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

423}
424
425void WalletModel::subscribeToCoreSignals()
426{
427 // Connect signals to wallet
428 m_handler_unload = m_wallet->handleUnload(boost::bind(&NotifyUnload, this));
429 m_handler_status_changed = m_wallet->handleStatusChanged(boost::bind(&NotifyKeyStoreStatusChanged, this));
430 m_handler_address_book_changed = m_wallet->handleAddressBookChanged(boost::bind(NotifyAddressBookChanged, this, _1, _2, _3, _4, _5));
431 m_handler_transaction_changed = m_wallet->handleTransactionChanged(boost::bind(NotifyTransactionChanged, this, _1, _2));
432 m_handler_show_progress = m_wallet->handleShowProgress(boost::bind(ShowProgress, this, _1, _2));
433 m_handler_watch_only_changed = m_wallet->handleWatchOnlyChanged(boost::bind(NotifyWatchonlyChanged, this, _1));
434}
435
436void WalletModel::unsubscribeFromCoreSignals()
437{

Callers

nothing calls this directly

Calls 6

handleUnloadMethod · 0.80
handleStatusChangedMethod · 0.80
handleShowProgressMethod · 0.45

Tested by

no test coverage detected