aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2024-04-17 17:24:05 -0300
committerfurszy <matiasfurszyfer@protonmail.com>2024-04-17 17:24:05 -0300
commit65951e0418c53cbbf30b9ee85e24ccaf729088a1 (patch)
tree92b5ce92bc8c4fe25ce66514c5a8df4e858fcd29 /contrib
parent3f6a6da3b08da15c10cbf2806f672da4a57254f6 (diff)
index: race fix, lock cs_main while 'm_synced' is subject to change
This ensures that the index does not miss any 'new block' signals occurring in-between reading the 'next block' and setting 'm_synced'. Because, if this were to happen, the ignored blocks would never be indexed, thus stalling the index forever.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions