From 048af2d7a31f58dbd6a4e04b526ff82be58d67c4 Mon Sep 17 00:00:00 2001 From: str4d Date: Tue, 7 Feb 2023 19:08:59 +0000 Subject: [PATCH] =?UTF-8?q?Adjust=20documentation=20of=20200=C2=B5s=20slee?= =?UTF-8?q?p?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Daira Hopwood --- src/main.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 838db3871..05732d0c8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4390,11 +4390,13 @@ bool ActivateBestChain(CValidationState& state, const CChainParams& chainparams, // Sleep briefly to allow other threads a chance at grabbing cs_main if // we are connecting a long chain of blocks and would otherwise hold the // lock almost continuously. As of 2023-02-03 the Zcash mainnet chain is - // around height 1,972,000; this sleep adds ~6.6 minutes to the time - // required to activate the best chain from genesis. + // around height 1,972,000; the total time slept here while activating + // the best chain from genesis to that height is ~6.6 minutes. This helps + // the internal wallet, if it is enabled, to keep up with the connected + // blocks, reducing the overall time until the node becomes usable. // // This is defined to be an interruption point. - // + // boost::this_thread::sleep_for(boost::chrono::microseconds(200)); bool fInitialDownload;