Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IsInitialBlockDownload: usually avoid locking
Optimistically test the latch bool before taking the lock. For all IsInitialBlockDownload calls after the first to return false, this avoids the need to lock cs_main. Coming from btc@f0fdda0181e1b05b66541bf235c6702c41664170
- Loading branch information