aboutsummaryrefslogtreecommitdiff
path: root/src/clientversion.cpp
diff options
context:
space:
mode:
authorKaz Wesley <[email protected]>2016-04-26 17:21:22 -0700
committerKaz Wesley <[email protected]>2016-06-04 22:18:59 -0700
commitf0fdda0181e1b05b66541bf235c6702c41664170 (patch)
treee6f288bd9315bae11b257886d7eae8ac832065c3 /src/clientversion.cpp
parentMerge #7840: Several performance and privacy improvements to inv/mempool hand... (diff)
downloaddiscoin-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