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

Method subscribeToCoreSignals

src/qt/transactiontablemodel.cpp:751–759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749}
750
751void TransactionTableModel::subscribeToCoreSignals()
752{
753 // Connect signals to wallet
754 m_handler_transaction_changed = walletModel->wallet().handleTransactionChanged(std::bind(&TransactionTablePriv::NotifyTransactionChanged, priv, std::placeholders::_1, std::placeholders::_2));
755 m_handler_show_progress = walletModel->wallet().handleShowProgress([this](const std::string&, int progress) {
756 priv->m_loading = progress < 100;
757 priv->DispatchNotifications();
758 });
759}
760
761void TransactionTableModel::unsubscribeFromCoreSignals()
762{

Callers

nothing calls this directly

Calls 4

DispatchNotificationsMethod · 0.80
walletMethod · 0.45
handleShowProgressMethod · 0.45

Tested by

no test coverage detected