diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2024-04-17 17:24:05 -0300 |
---|---|---|
committer | furszy <matiasfurszyfer@protonmail.com> | 2024-04-17 17:24:05 -0300 |
commit | 65951e0418c53cbbf30b9ee85e24ccaf729088a1 (patch) | |
tree | 92b5ce92bc8c4fe25ce66514c5a8df4e858fcd29 /contrib | |
parent | 3f6a6da3b08da15c10cbf2806f672da4a57254f6 (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