Page MenuHomePhabricator

D8323.diff
No OneTemporary

D8323.diff

diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
--- a/src/qt/clientmodel.cpp
+++ b/src/qt/clientmodel.cpp
@@ -232,9 +232,9 @@
clientmodel->cachedBestHeaderHeight = height;
clientmodel->cachedBestHeaderTime = blockTime;
}
- // if we are in-sync or if we notify a header update, update the UI
- // regardless of last update time
- if (fHeader || !initialSync ||
+ // During initial sync, block notifications, and header notifications from
+ // reindexing are both throttled.
+ if (!initialSync || (fHeader && !clientmodel->node().getReindex()) ||
now - nLastUpdateNotification > MODEL_UPDATE_DELAY) {
// pass an async signal to the UI thread
bool invoked = QMetaObject::invokeMethod(

File Metadata

Mime Type
text/plain
Expires
Sat, Mar 1, 11:13 (15 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5187542
Default Alt Text
D8323.diff (764 B)

Event Timeline