| 245 | } |
| 246 | |
| 247 | void ClientModel::subscribeToCoreSignals() |
| 248 | { |
| 249 | // Connect signals to client |
| 250 | m_handler_show_progress = m_node.handleShowProgress(boost::bind(ShowProgress, this, _1, _2)); |
| 251 | m_handler_notify_num_connections_changed = m_node.handleNotifyNumConnectionsChanged(boost::bind(NotifyNumConnectionsChanged, this, _1)); |
| 252 | m_handler_notify_network_active_changed = m_node.handleNotifyNetworkActiveChanged(boost::bind(NotifyNetworkActiveChanged, this, _1)); |
| 253 | m_handler_notify_alert_changed = m_node.handleNotifyAlertChanged(boost::bind(NotifyAlertChanged, this)); |
| 254 | m_handler_banned_list_changed = m_node.handleBannedListChanged(boost::bind(BannedListChanged, this)); |
| 255 | m_handler_notify_block_tip = m_node.handleNotifyBlockTip(boost::bind(BlockTipChanged, this, _1, _2, _3, _4, false)); |
| 256 | m_handler_notify_header_tip = m_node.handleNotifyHeaderTip(boost::bind(BlockTipChanged, this, _1, _2, _3, _4, true)); |
| 257 | } |
| 258 | |
| 259 | void ClientModel::unsubscribeFromCoreSignals() |
| 260 | { |
nothing calls this directly
no test coverage detected