move-only: MAX_BLOCK_TIME_GAP to src/qt
Can be reviewed via the git option: --color-moved=dimmed-zebra
This commit is contained in:
2 files changed
+8
-8
No files matched your search
@@ -39,14 +39,6 @@ static constexpr int64_t TIMESTAMP_WINDOW = MAX_FUTURE_BLOCK_TIME;
|
|||||||
static constexpr int32_t SEQ_ID_BEST_CHAIN_FROM_DISK = 0;
|
static constexpr int32_t SEQ_ID_BEST_CHAIN_FROM_DISK = 0;
|
||||||
static constexpr int32_t SEQ_ID_INIT_FROM_DISK = 1;
|
static constexpr int32_t SEQ_ID_INIT_FROM_DISK = 1;
|
||||||
|
|
||||||
/**
|
|
||||||
* Maximum gap between node time and block time used
|
|
||||||
* for the "Catching up..." mode in GUI.
|
|
||||||
*
|
|
||||||
* Ref: https://github.com/bitcoin/bitcoin/pull/1026
|
|
||||||
*/
|
|
||||||
static constexpr int64_t MAX_BLOCK_TIME_GAP = 90 * 60;
|
|
||||||
|
|
||||||
enum BlockStatus : uint32_t {
|
enum BlockStatus : uint32_t {
|
||||||
//! Unused.
|
//! Unused.
|
||||||
BLOCK_VALID_UNKNOWN = 0,
|
BLOCK_VALID_UNKNOWN = 0,
|
||||||
|
|||||||
@@ -72,6 +72,14 @@
|
|||||||
#include <QWindow>
|
#include <QWindow>
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Maximum gap between node time and block time used
|
||||||
|
* for the "Catching up..." mode in GUI.
|
||||||
|
*
|
||||||
|
* Ref: https://github.com/bitcoin/bitcoin/pull/1026
|
||||||
|
*/
|
||||||
|
static constexpr int64_t MAX_BLOCK_TIME_GAP = 90 * 60;
|
||||||
|
|
||||||
const std::string BitcoinGUI::DEFAULT_UIPLATFORM =
|
const std::string BitcoinGUI::DEFAULT_UIPLATFORM =
|
||||||
#if defined(Q_OS_MACOS)
|
#if defined(Q_OS_MACOS)
|
||||||
"macosx"
|
"macosx"
|
||||||
|
|||||||
Reference in new issue
Block a user