@@ -22,8 +22,10 @@ struct UISignals {
2222 boost::signals2::signal<CClientUIInterface::NotifyAlertChangedSig> NotifyAlertChanged;
2323 boost::signals2::signal<CClientUIInterface::ShowProgressSig> ShowProgress;
2424 boost::signals2::signal<CClientUIInterface::SnapshotLoadProgressSig> SnapshotLoadProgress;
25+ boost::signals2::signal<CClientUIInterface::RewindProgressSig> RewindProgress;
2526 boost::signals2::signal<CClientUIInterface::NotifyBlockTipSig> NotifyBlockTip;
2627 boost::signals2::signal<CClientUIInterface::NotifyHeaderTipSig> NotifyHeaderTip;
28+ boost::signals2::signal<CClientUIInterface::NotifyBlockDisconnectedSig> NotifyBlockDisconnected;
2729 boost::signals2::signal<CClientUIInterface::BannedListChangedSig> BannedListChanged;
2830};
2931static UISignals g_ui_signals;
@@ -44,9 +46,10 @@ ADD_SIGNALS_IMPL_WRAPPER(NotifyAlertChanged);
4446ADD_SIGNALS_IMPL_WRAPPER (ShowProgress);
4547ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockTip);
4648ADD_SIGNALS_IMPL_WRAPPER (NotifyHeaderTip);
49+ ADD_SIGNALS_IMPL_WRAPPER (NotifyBlockDisconnected);
4750ADD_SIGNALS_IMPL_WRAPPER (BannedListChanged);
4851ADD_SIGNALS_IMPL_WRAPPER (SnapshotLoadProgress);
49-
52+ ADD_SIGNALS_IMPL_WRAPPER (RewindProgress);
5053bool CClientUIInterface::ThreadSafeMessageBox (const bilingual_str& message, const std::string& caption, unsigned int style) { return g_ui_signals.ThreadSafeMessageBox (message, caption, style).value_or (false );}
5154bool CClientUIInterface::ThreadSafeQuestion (const bilingual_str& message, const std::string& non_interactive_message, const std::string& caption, unsigned int style) { return g_ui_signals.ThreadSafeQuestion (message, non_interactive_message, caption, style).value_or (false );}
5255void CClientUIInterface::InitMessage (const std::string& message) { return g_ui_signals.InitMessage (message); }
@@ -56,8 +59,10 @@ void CClientUIInterface::NotifyNetworkActiveChanged(bool networkActive) { return
5659void CClientUIInterface::NotifyAlertChanged () { return g_ui_signals.NotifyAlertChanged (); }
5760void CClientUIInterface::ShowProgress (const std::string& title, int nProgress, bool resume_possible) { return g_ui_signals.ShowProgress (title, nProgress, resume_possible); }
5861void CClientUIInterface::SnapshotLoadProgress (double progress) { return g_ui_signals.SnapshotLoadProgress (progress); }
62+ void CClientUIInterface::RewindProgress (double progress) { return g_ui_signals.RewindProgress (progress); }
5963void CClientUIInterface::NotifyBlockTip (SynchronizationState s, const CBlockIndex* i) { return g_ui_signals.NotifyBlockTip (s, i); }
6064void CClientUIInterface::NotifyHeaderTip (SynchronizationState s, int64_t height, int64_t timestamp, bool presync) { return g_ui_signals.NotifyHeaderTip (s, height, timestamp, presync); }
65+ void CClientUIInterface::NotifyBlockDisconnected (SynchronizationState s, const CBlockIndex* i) { return g_ui_signals.NotifyBlockDisconnected (s, i); }
6166void CClientUIInterface::BannedListChanged () { return g_ui_signals.BannedListChanged (); }
6267
6368bool InitError (const bilingual_str& str)
0 commit comments