diff options
| author | Wladimir J. van der Laan <[email protected]> | 2015-11-30 12:58:01 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2015-11-30 13:04:29 +0100 |
| commit | 96b802510da0750aabc4f3ba6750cb5ce76f2b8c (patch) | |
| tree | 3374e1ba583bf511745c2cd4c02ff6ecb6d3cc8b /src/ui_interface.h | |
| parent | Merge pull request #7103 (diff) | |
| parent | Move uiInterface.NotifyBlockTip signal above the core/wallet signal (diff) | |
| download | discoin-96b802510da0750aabc4f3ba6750cb5ce76f2b8c.tar.xz discoin-96b802510da0750aabc4f3ba6750cb5ce76f2b8c.zip | |
Merge pull request #7112
9af5f9c Move uiInterface.NotifyBlockTip signal above the core/wallet signal - This will keep getbestblockhash more in sync with blocknotify callbacks (Jonas Schnelli)
4082e46 [Qt] call GuessVerificationProgress synchronous during core signal, pass double over UI signal (Jonas Schnelli)
947d20b [Qt] reduce cs_main in getVerificationProgress() (Jonas Schnelli)
e6d50fc [Qt] update block tip (height and date) without locking cs_main, update always (each block) (Jonas Schnelli)
012fc91 NotifyBlockTip signal: switch from hash (uint256) to CBlockIndex* - also adds a boolean for indication if the tip update was happening during initial sync - emit notification also during initial sync (Jonas Schnelli)
Diffstat (limited to 'src/ui_interface.h')
| -rw-r--r-- | src/ui_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h index e40247993..00d930312 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -15,6 +15,7 @@ class CBasicKeyStore; class CWallet; class uint256; +class CBlockIndex; /** General change type (added, updated, removed). */ enum ChangeType @@ -94,7 +95,7 @@ public: boost::signals2::signal<void (const std::string &title, int nProgress)> ShowProgress; /** New block has been accepted */ - boost::signals2::signal<void (const uint256& hash)> NotifyBlockTip; + boost::signals2::signal<void (bool, const CBlockIndex *)> NotifyBlockTip; /** Banlist did change. */ boost::signals2::signal<void (void)> BannedListChanged; |