mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 06:58:57 +01:00
qt: Revamp ClientModel code to handle {Block|Header}Tip core signals
No behavior change.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user