aboutsummaryrefslogtreecommitdiff
path: root/src/qt/modaloverlay.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-01-03 15:09:57 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2017-01-19 09:10:04 +0100
commit40ec7c7b0d2a5a37de90635b676b16884b622dd6 (patch)
tree2e85b0992f571b5ed4e2790674e5d8a1c1a78bc5 /src/qt/modaloverlay.h
parent03e1d6ce349cc83b92140fec7d0c5f88893c0a9c (diff)
downloadbitcoin-40ec7c7b0d2a5a37de90635b676b16884b622dd6.tar.xz
[Qt] Improve progress display during headers-sync and peer-finding
Diffstat (limited to 'src/qt/modaloverlay.h')
-rw-r--r--src/qt/modaloverlay.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/modaloverlay.h b/src/qt/modaloverlay.h
index 70d37b87ad..6d1f12164e 100644
--- a/src/qt/modaloverlay.h
+++ b/src/qt/modaloverlay.h
@@ -8,6 +8,9 @@
#include <QDateTime>
#include <QWidget>
+//! The required delta of headers to the estimated number of available headers until we show the IBD progress
+static const int REQ_HEADER_HEIGHT_DELTA_SYNC = 24;
+
namespace Ui {
class ModalOverlay;
}