Change the time that the wallet will wait for the block index to load from 5 minutes to 2 hours.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2023-01-12 22:56:56 +00:00
parent 18b9f8fbd1
commit fae6cd175c
2 changed files with 8 additions and 1 deletions

View File

@ -4,6 +4,13 @@ release-notes at release time)
Notable changes
===============
Fixes
-----
This release fixes an issue that could potentially cause a node to crash with the
log message "The wallet's best block hash `<hash>` was not detected in restored
chain state. Giving up; please restart with `-rescan`."
RPC Changes
-----------

View File

@ -87,7 +87,7 @@ static const bool DEFAULT_STOPAFTERBLOCKIMPORT = false;
// The time that the wallet will wait for the block index to load
// during startup before timing out.
static const int64_t WALLET_INITIAL_SYNC_TIMEOUT = 1000 * 60 * 5;
static const int64_t WALLET_INITIAL_SYNC_TIMEOUT = 1000 * 60 * 60 * 2;
#if ENABLE_ZMQ
static CZMQNotificationInterface* pzmqNotificationInterface = NULL;