diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-10 18:55:36 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-16 18:59:17 +0200 |
commit | 9bd1565f6501c81291b286cdfaecd0daf8981c75 (patch) | |
tree | e5d84d704294f5dc81d4a7ac60a4380139fde19a /src/qt/clientmodel.h | |
parent | 48f6d39659e40f44907a7c09f839df988e6c6206 (diff) |
qt: Revamp ClientModel code to handle {Block|Header}Tip core signals
No behavior change.
Diffstat (limited to 'src/qt/clientmodel.h')
-rw-r--r-- | src/qt/clientmodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/clientmodel.h b/src/qt/clientmodel.h index dacccafb8f..27bd8ad7e7 100644 --- a/src/qt/clientmodel.h +++ b/src/qt/clientmodel.h @@ -23,6 +23,7 @@ enum class SynchronizationState; namespace interfaces { class Handler; class Node; +struct BlockTip; } QT_BEGIN_NAMESPACE @@ -104,6 +105,7 @@ private: //! A thread to interact with m_node asynchronously QThread* const m_thread; + void TipChanged(SynchronizationState sync_state, interfaces::BlockTip tip, double verification_progress, bool header); void subscribeToCoreSignals(); void unsubscribeFromCoreSignals(); |