diff options
| author | Kaz Wesley <[email protected]> | 2016-04-26 17:21:22 -0700 |
|---|---|---|
| committer | Kaz Wesley <[email protected]> | 2016-06-04 22:18:59 -0700 |
| commit | f0fdda0181e1b05b66541bf235c6702c41664170 (patch) | |
| tree | e6f288bd9315bae11b257886d7eae8ac832065c3 /src/clientversion.cpp | |
| parent | Merge #7840: Several performance and privacy improvements to inv/mempool hand... (diff) | |
| download | discoin-f0fdda0181e1b05b66541bf235c6702c41664170.tar.xz discoin-f0fdda0181e1b05b66541bf235c6702c41664170.zip | |
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.
Diffstat (limited to 'src/clientversion.cpp')
0 files changed, 0 insertions, 0 deletions